nfpis/package.json

42 lines
1.4 KiB
JSON

{
"name": "nfpis",
"version": "1.0.0",
"description": "Website for nfp ehf.",
"main": "index.js",
"scripts": {
"build": "npm run build:styl && npm run build:js",
"build:js": "browserify app/main.js | uglifyjs --comments -o public/main.js",
"build:styl": "stylus app/styl/main.styl -c --out public",
"dev": "run-p watch:js watch:styl start",
"dev:run": "npm install && npm run dev",
"docker": "docker run -it --rm --name nfpis -p 3000:3000 -v \"$PWD\":/usr/src/app -w /usr/src/app node:slim",
"docker:dev": "npm run docker -- npm run dev:run",
"start": "spserver -f ./public/index.html -s ./public -p 3000",
"test": "echo \"Error: no test specified\" && exit 1",
"watch:js": "watchify app/main.js -o public/main.js --debug",
"watch:styl": "stylus -w -m app/styl/main.styl --out public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nfp-projects/nfpis.git"
},
"author": "Jonatan Nilsson",
"license": "WTFPL",
"bugs": {
"url": "https://github.com/nfp-projects/nfpis/issues"
},
"homepage": "https://github.com/nfp-projects/nfpis#readme",
"devDependencies": {
"browserify": "^16.2.2",
"eslint": "^5.1.0",
"mithril": "^1.1.6",
"npm-run-all": "^4.1.3",
"stylus": "^0.54.5",
"uglify-es": "^3.3.9",
"watchify": "^3.11.0"
},
"dependencies": {
"spserver": "^0.3.0"
}
}