nfpis/package.json

46 lines
1.6 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 -p tinyify --no-commondir -o public/main.js app/main.js",
"build:styl": "stylus app/main.styl -c --out public",
"watch": "run-p watch:js watch:styl",
"watch:js": "watchify app/main.js -o public/main.js --debug",
"watch:styl": "stylus -w -m app/main.styl --out public",
"dev": "run-p watch start",
"docker": "docker run -it --rm --name nfpis -p 3000:3000 -v \"$PWD\":/usr/src/app -w /usr/src/app node:slim",
"wdocker": "docker run -it --rm --name nfpis -p 3000:3000 -v \"%CD%\":/usr/src/app -w /usr/src/app node:slim",
"docker:dev": "npm run docker -- npm run dev",
"docker:install": "npm run docker -- npm install",
"wdocker:install": "npm run wdocker -- npm install",
"wdocker:dev": "npm run wdocker -- npm run dev",
"start": "spserver -f ./public/index.html -s ./public -p 3000",
"test": "echo \"Error: no test specified\" && exit 1"
},
"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.5.0",
"eslint": "^5.16.0",
"mithril": "^2.0.4",
"npm-run-all": "^4.1.3",
"stylus": "^0.54.7",
"tinyify": "^2.5.1",
"watchify": "^3.11.1"
},
"dependencies": {
"spserver": "^0.3.0"
}
}