-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
156 lines (156 loc) · 5.64 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "react-setup",
"description": "A Universal React Setup with i18n: Babel 6, Koa 2, React, React Router, React Transmit, React Bootstrap, React-intl, Mocha, Isparta, Webpack 2, Storybook, InlineCSS/PostCSS, ESLint, HTTPS & HTTP2.",
"version": "3.10.0",
"author": "Duc Nguyen (https://github.com/ngduc)",
"license": "MIT",
"homepage": "https://github.com/ngduc/react-setup",
"repository": {
"type": "git",
"url": "https://github.com/ngduc/react-setup.git"
},
"bugs": {
"url": "https://github.com/ngduc/react-setup/issues"
},
"keywords": [
"react",
"isomorphic",
"universal",
"starter",
"boilerplate",
"template",
"webpack",
"koa",
"transmit",
"boostrap",
"i18n",
"intl",
"postcss"
],
"main": "dist/server.js",
"scripts": {
"start": "npm run build && node --harmony ./dist/server.js",
"start-forever": "forever --minUptime 1000 --spinSleepTime 1000 -c \"node --harmony\" ./dist/server.js",
"start-forever-background": "forever stop 'reactsetup' || true && NODE_ENV=production forever start --uid 'reactsetup' -l reactsetup.log --append --minUptime 1000 --spinSleepTime 1000 -c \"node --harmony\" ./dist/server.js",
"build-msg": "babel --plugins react-intl src/**/messages.js && babel-node tools/scripts/translate.js",
"build-server": "webpack --colors --display-error-details --config configs/webpack.server.js",
"build-client": "webpack --colors --display-error-details --config configs/webpack.client.js",
"build": "npm run clean && concurrently \"npm run build-server\" \"npm run build-client\" \"npm run build-msg\"",
"watch-server": "webpack --watch --colors --display-error-details --config configs/webpack.server-watch.js",
"watch-server-start": "just-wait -t 60 --pattern \"dist/*.js\" && npm run start-forever",
"watch-client": "webpack --watch --colors --display-error-details --config configs/webpack.client-watch.js",
"watch-client-dev": "webpack-dev-server $npm_package_config_webpackProtocol --config configs/webpack.client-watch.js",
"dev": "npm run clean && concurrently --kill-others \"npm run watch-server-start\" \"npm run watch-server\" \"npm run watch-client\" \"npm run watch-client-dev\"",
"test": "NODE_PATH=./src mocha --require ./tools/test/test-init --compilers js:babel-core/register ./src/**/*.spec.js --recursive",
"test-cov": "NODE_PATH=./src babel-node $(npm bin)/isparta cover --verbose --report text --report html _mocha -- --require ./tools/test/test-init ./src/**/*.spec.js",
"lint": "eslint .",
"clean": "rm -rf ./dist && rm -rf ./static",
"commit": "commit-wizard",
"storybook": "start-storybook -s ./src/static -p 6006",
"build-storybook": "build-storybook"
},
"dependencies": {
"autoprefixer": "^6.5.3",
"babel": "^6.5.2",
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.7",
"babel-plugin-react-intl": "^2.2.0",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-stage-0": "^6.16.0",
"bootstrap": "^3.3.7",
"bunyan": "^1.8.5",
"classnames": "^2.2.5",
"concurrently": "^3.1.0",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.26.0",
"extract-text-webpack-plugin": "2.0.0-beta.4",
"fetch-plus": "^3.10.4",
"fetch-plus-bearerauth": "^3.10.4",
"fetch-plus-json": "^3.10.4",
"forever": "^0.15.3",
"glob": "^7.1.1",
"html-webpack-plugin": "^2.24.1",
"intl": "^1.2.5",
"intl-locales-supported": "^1.0.0",
"intl-messageformat-parser": "^1.2.0",
"isomorphic-fetch": "^2.2.1",
"json-loader": "^0.5.4",
"just-wait": "^1.0.9",
"koa": "2.0.0",
"koa-better-body": "~2.0.1",
"koa-bodyparser": "^3.0",
"koa-compose": "^3.0.0",
"koa-compress": "^2.0.0",
"koa-convert": "^1.2",
"koa-passport": "^2.0",
"koa-router": "^7.0.1",
"koa-session": "^3.4.0",
"koa-static-cache": "^3.1.7",
"mkdirp": "^0.5.1",
"mousetrap": "^1.6.0",
"mustache": "^2.3.0",
"postcss-cssnext": "^2.8.0",
"postcss-import": "8.0.2",
"postcss-loader": "^1.1.1",
"postcss-mixins": "^5.4.0",
"postcss-nested": "^1.0.0",
"postcss-simple-vars": "^3.0.0",
"react": "^15.4.0",
"react-addons-css-transition-group": "^15.4.0",
"react-addons-test-utils": "^15.4.0",
"react-addons-update": "^15.4.0",
"react-bootstrap": "^0.30.6",
"react-dom": "^15.4.0",
"react-inline-css": "^2.3.0",
"react-intl": "^2.1.5",
"react-jsonschema-form": "^0.41.1",
"react-motion": "^0.4.5",
"react-router": "^3.0.0",
"react-router-transition": "^0.0.6",
"react-transmit": "^3.2.0",
"serialize-javascript": "^1.3.0",
"spdy": "^3.4.4",
"style-loader": "^0.13.1",
"webpack": "2.1.0-beta.22",
"webpack-build-notifier": "^0.1.13",
"webpack-dev-server": "2.1.0-beta.10",
"webpack-node-externals": "^1.5.4"
},
"devDependencies": {
"@kadira/storybook": "^2.21.0",
"chai": "^3.5.0",
"eslint": "^3.10.2",
"eslint-plugin-jsdoc": "^2.3.1",
"eslint-plugin-react": "^6.7.1",
"isparta": "^4.0.0",
"jsdom": "^9.8.3",
"mocha": "^3.1.2",
"pre-git": "^3.11.0",
"react-proxy": "^1.1.8",
"sinon": "^1.17.6",
"sinon-chai": "^2.8.0",
"teaspoon": "^6.4.1"
},
"engines": {
"node": ">=4.4.0"
},
"config": {
"protocol": "http",
"webpackProtocol": "",
"pre-git": {
"commit-msg": "conventional",
"pre-commit": [
"npm test",
"npm run lint"
],
"pre-push": [],
"post-commit": [],
"post-merge": []
}
}
}