/
package.json
52 lines (52 loc) · 1.97 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
44
45
46
47
48
49
50
51
52
{
"name": "nfp_www",
"version": "0.1.0",
"description": "nfp_www MVVM frontend for nfp_api",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"livereload": "live-reload --port 9091 dist/",
"build:res": "cp assets/styl/libs/fonts/* dist/css/fonts/",
"build:styl": "stylus -I node_modules assets/styl/main.styl --out dist/css",
"watch:styl": "stylus -w -I node_modules assets/styl/main.styl --out dist/css",
"build:jsx": "msx -x jsx --no-precompile assets/js/ assets/js/",
"watch:jsx": "msx --watch -x jsx --no-precompile assets/js/ assets/js/",
"build:js": "npm run build:jsx && browserify assets/js/main.js -o dist/js/main.js --debug",
"watch:js": "watchify assets/js/main.js -o dist/js/main.js --debug",
"compile:js": "ccjs dist/js/main.js --compilation_level=SIMPLE_OPTIMIZATIONS --language_in=ECMASCRIPT5 > dist/js/main.min.js",
"build": "npm run build:res && npm run build:js && npm run build:styl && npm run compile:js",
"build:watch": "npm run build:res && parallelshell \"npm run watch:jsx\" \"npm run watch:js\" \"npm run watch:styl\" \"npm run livereload\"",
"start": "spserver -c ./config/config.json -b -n nfp_www -t -f ./assets/html/base.html -s ./dist"
},
"repository": {
"type": "git",
"url": "https://github.com/nfp-projects/nfp_www.git"
},
"author": "Jonatan Nilsson",
"license": "WTFPL",
"bugs": {
"url": "https://github.com/nfp-projects/nfp_www/issues"
},
"homepage": "https://github.com/nfp-projects/nfp_www",
"devDependencies": {
"live-reload": "*",
"nodemon": "*",
"parallelshell": "*",
"spserver": "*",
"watch": "*",
"watchify": "*"
},
"dependencies": {
"browserify": "^11.0.0",
"closurecompiler": "*",
"es6-promise": "*",
"jso-browser": "thething/jso",
"jwt-decode": "*",
"lodash": "*",
"mithril": "lhorie/mithril.js#next",
"msx": "^0.4.1",
"nconf": "*",
"nib": "*",
"stylus": "^0.52.0"
}
}