nfpis/package.json

46 lines
1.6 KiB
JSON
Raw Normal View History

2018-07-16 05:31:21 +00:00
{
"name": "nfpis",
"version": "1.0.0",
"description": "Website for nfp ehf.",
"main": "index.js",
"scripts": {
"build": "npm run build:styl && npm run build:js",
2019-12-21 23:34:48 +00:00
"build:js": "browserify -p tinyify --no-commondir -o public/main.js app/main.js",
2020-01-07 15:46:19 +00:00
"build:styl": "stylus app/main.styl -c --out public",
2019-12-21 23:34:48 +00:00
"watch": "run-p watch:js watch:styl",
"watch:js": "watchify app/main.js -o public/main.js --debug",
2020-01-07 15:46:19 +00:00
"watch:styl": "stylus -w -m app/main.styl --out public",
2019-12-21 23:34:48 +00:00
"dev": "run-p watch start",
2018-07-16 05:31:21 +00:00
"docker": "docker run -it --rm --name nfpis -p 3000:3000 -v \"$PWD\":/usr/src/app -w /usr/src/app node:slim",
2020-01-07 15:46:19 +00:00
"wdocker": "docker run -it --rm --name nfpis -p 3000:3000 -v \"%CD%\":/usr/src/app -w /usr/src/app node:slim",
2019-12-21 23:34:48 +00:00
"docker:dev": "npm run docker -- npm run dev",
"docker:install": "npm run docker -- npm install",
2020-01-07 15:46:19 +00:00
"wdocker:install": "npm run wdocker -- npm install",
"wdocker:dev": "npm run wdocker -- npm run dev",
2018-07-16 05:31:21 +00:00
"start": "spserver -f ./public/index.html -s ./public -p 3000",
2019-12-21 23:34:48 +00:00
"test": "echo \"Error: no test specified\" && exit 1"
2018-07-16 05:31:21 +00:00
},
"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": {
2019-12-21 23:34:48 +00:00
"browserify": "^16.5.0",
"eslint": "^5.16.0",
"mithril": "^2.0.4",
2018-07-16 05:31:21 +00:00
"npm-run-all": "^4.1.3",
2019-12-21 23:34:48 +00:00
"stylus": "^0.54.7",
"tinyify": "^2.5.1",
"watchify": "^3.11.1"
2018-07-16 05:31:21 +00:00
},
"dependencies": {
"spserver": "^0.3.0"
2018-07-16 05:31:21 +00:00
}
}