-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
49 lines (49 loc) · 1.41 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
{
"name": "pre-bp",
"version": "0.5.1",
"main": "index.js",
"repository": "git@github.com:pre-bp/pre-bp.git",
"author": "Matan Noam Shavit <matannoam@gmail.com>",
"license": "MIT",
"babel": {
"presets": [
"es2015",
"react",
"stage-2"
],
"plugins": [
[
"transform-react-jsx",
{
"pragma": "h"
}
]
]
},
"devDependencies": {
"babel-core": "^6.21.0",
"babel-loader": "^6.2.10",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-2": "^6.18.0",
"gzip-size-cli": "^1.0.0",
"pretty-bytes-cli": "^2.0.0",
"redux-logger": "^2.7.4",
"webpack": "^2.2.1",
"webpack-bundle-size-analyzer": "^2.2.0",
"webpack-dev-server": "^2.3.0"
},
"dependencies": {
"history": "^4.5.1",
"preact": "^7.1.0",
"preact-redux": "1.2.0",
"preact-router": "2.4.0",
"preact-router-redux": "^4.1.0",
"redux": "^3.6.0"
},
"scripts": {
"start": "webpack-dev-server --progress --colors --inline --config ./webpack.config.js",
"build": "NODE_ENV=production webpack -p --config ./webpack.prod.config.js --progress --colors && size=$(gzip-size public/bundle.js) && echo \"gzip size: $size / $(pretty-bytes $size)\"",
"size:imports": "NODE_ENV=production webpack -p --config ./webpack.prod.config.js --progress --colors --json | webpack-bundle-size-analyzer"
}
}