-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
43 lines (43 loc) · 1.54 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "hjson",
"description": "A user interface for JSON.",
"main": "./lib/hjson.js",
"author": "Christian Zangl",
"version": "3.2.2",
"keywords": [
"json",
"comments",
"config",
"hjson",
"parser",
"serializer",
"human"
],
"bin": {
"hjson": "./bin/hjson"
},
"scripts": {
"test": "node ./test/test.js",
"lint": "node_modules/eslint/bin/eslint.js -f unix bin/hjson lib/*.js",
"build_v1": "node -e 'console.log(\"module.exports=\\\"\"+eval(\"(\"+process.argv[1]+\")\").version+\"\\\";\");' -- \"`cat package.json`\" > lib/hjson-version.js",
"build_v2": "node -e 'var v=\" * Hjson v\"+eval(\"(\"+process.argv[1]+\")\").version; if (v!==process.argv[2]) throw new Error(\"ver\");' -- \"`cat package.json`\" \"`grep -E '\\* Hjson v.*$' lib/hjson.js`\"",
"build_bundle": "node_modules/browserify/bin/cmd.js -p browserify-header --ignore os -s Hjson -o bundle/hjson.js lib/hjson.js",
"build_min": "node node_modules/uglify-js/bin/uglifyjs bundle/hjson.js --comments=/^!/ -c -m -o bundle/hjson.min.js",
"build": "npm run build_v1 && npm run build_v2 && npm run test && npm run lint && npm run build_bundle && npm run build_min"
},
"homepage": "https://hjson.github.io",
"repository": {
"type": "git",
"url": "https://github.com/hjson/hjson-js.git"
},
"bugs": {
"url": "https://github.com/hjson/hjson-js/issues"
},
"license": "MIT",
"devDependencies": {
"browserify": "^13.3.0",
"browserify-header": "0.9.2",
"eslint": "^3.13.1",
"uglify-js": "^2.7.5"
}
}