Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (52 sloc) 1.97 KB
{
"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"
}
}