This repository has been archived by the owner on Mar 21, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
64 lines (64 loc) · 2.54 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
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "robat",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "npm run lint:js -s & npm run lint:css -s",
"lint:js": "eslint . --ext .js --ignore-pattern '/build/*' --cache",
"lint:css": "stylelint src/style.css",
"build:js": "browserify src/index.js -t [ babelify --presets [ es2015 ] ] -p bundle-collapser/plugin | esmangle > build/index.js && echo 'JS Built'",
"watch:js": "chokidar 'src/index.js' -c 'browserifyinc --cachefile browserify-cache.json -t [ babelify --presets [ es2015 ] ] src/index.js > build/index.js -v'",
"build:css": "postcss src/style.css --use cssnano > build/style.css",
"watch:css": "chokidar 'src/style.css' -c 'cpx src/style.css build'",
"build:html": "htmlmin src/index.html | critical --base src --inline --minify > build/index.html",
"watch:html": "chokidar 'src/index.html' -c 'cpx src/index.html build'",
"html": "htmlmin src/index.html",
"watch": "concurrently --prefix '[{name}]' --prefix-colors 'yellow,cyan,red' --names 'JS,CSS,HTML' 'npm run watch:js -s' 'npm run watch:css -s' 'npm run watch:html -s'",
"build": "npm run build:js -s && npm run build:css && npm run build:html",
"dev": "concurrently --prefix '[{name}]' --prefix-colors 'green,white' --names 'SERVER,BUILD' 'DEBUG=robat nodemon --watch server server/index.js' 'npm run watch -s'",
"postinstall": "npm run build -s",
"start": "npm run build -s && node server/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rijkvanzanten/robat.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/rijkvanzanten/robat/issues"
},
"homepage": "https://github.com/rijkvanzanten/robat#readme",
"dependencies": {
"compression": "^1.6.2",
"dotenv": "^4.0.0",
"ejs": "^2.5.6",
"express": "^4.15.3",
"localforage": "^1.5.0",
"node-wit": "^4.2.0",
"oba-api": "github:rijkvanzanten/node-oba-api",
"shortid": "^2.2.8",
"socket.io": "^2.0.2",
"socket.io-client": "^2.0.3",
"uuid": "^3.0.1"
},
"devDependencies": {
"babel-preset-es2015": "^6.24.1",
"babelify": "^7.3.0",
"browserify": "^14.4.0",
"browserify-incremental": "^3.1.1",
"bundle-collapser": "^1.2.1",
"chokidar-cli": "^1.2.0",
"concurrently": "^3.4.0",
"cpx": "^1.5.0",
"critical": "^0.8.4",
"cssnano": "^3.10.0",
"debug": "^2.6.8",
"eslint": "^3.19.0",
"esmangle": "^1.0.1",
"html-minifier-cli": "^0.1.0",
"nodemon": "^1.11.0",
"postcss-cli": "^4.0.0",
"stylelint": "^7.11.0"
}
}