|
5 | 5 | "main": "./src/main.js",
|
6 | 6 | "scripts": {
|
7 | 7 | "i": "npm i --no-optional",
|
8 |
| - |
9 | 8 | "prebuild": "npm run i",
|
10 | 9 | "build:clean": "rimraf -rf ../src/main/resources/static/**/*.{js,html}",
|
11 |
| - "build:compile": "NODE_ENV=production webpack --config ./config/webpack.config.production.babel.js -c --process -p", |
| 10 | + "build:compile": "cross-env NODE_ENV=production webpack --config ./config/webpack.config.production.babel.js -c --process -p", |
12 | 11 | "build": "npm-run-all build:*",
|
13 |
| - |
14 | 12 | "prestart": "npm run i",
|
15 | 13 | "start": "webpack-dev-server -d --config ./config/webpack.config.babel.js --content-base=../src/main/resources/static",
|
16 |
| - |
17 | 14 | "serve": "json-server ../src/main/resources/static/db.json -d 500 -w -p 3000 --static ../src/main/resources/static",
|
18 | 15 | "webpack:watch": "webpack -w --config ./config/webpack.config.babel.js -c --process",
|
19 | 16 | "webpack:compile": "webpack --config ./config/webpack.config.babel.js -c --process"
|
|
28 | 25 | "author": "Maksim Kostromin",
|
29 | 26 | "license": "ISC",
|
30 | 27 | "devDependencies": {
|
31 |
| - "autoprefixer": "*", |
32 |
| - "babel-cli": "*", |
33 |
| - "babel-loader": "*", |
34 |
| - "babel-plugin-add-module-exports": "*", |
35 |
| - "babel-plugin-react-html-attrs": "*", |
36 |
| - "babel-plugin-transform-class-properties": "*", |
37 |
| - "babel-preset-es2015": "*", |
38 |
| - "babel-preset-react": "*", |
39 |
| - "babel-preset-stage-0": "*", |
40 |
| - "babel-register": "*", |
41 |
| - "css-loader": "*", |
42 |
| - "extract-text-webpack-plugin": "*", |
43 |
| - "file-loader": "*", |
44 |
| - "handlebars": "*", |
45 |
| - "handlebars-loader": "*", |
46 |
| - "html-webpack-plugin": "*", |
47 |
| - "json-server": "*", |
48 |
| - "less": "*", |
49 |
| - "less-loader": "*", |
50 |
| - "npm-run-all": "*", |
51 |
| - "opn-cli": "*", |
52 |
| - "postcss-loader": "*", |
53 |
| - "rimraf": "*", |
54 |
| - "source-map-loader": "*", |
55 |
| - "style-loader": "*", |
56 |
| - "url-loader": "*", |
57 |
| - "webpack": "*", |
58 |
| - "webpack-dev-server": "*" |
| 28 | + "autoprefixer": "6.7.7", |
| 29 | + "babel-cli": "6.24.0", |
| 30 | + "babel-loader": "6.4.1", |
| 31 | + "babel-plugin-add-module-exports": "0.2.1", |
| 32 | + "babel-plugin-react-html-attrs": "2.0.0", |
| 33 | + "babel-plugin-transform-class-properties": "6.23.0", |
| 34 | + "babel-preset-env": "1.2.2", |
| 35 | + "babel-preset-react": "6.23.0", |
| 36 | + "babel-preset-stage-0": "6.22.0", |
| 37 | + "babel-register": "6.24.0", |
| 38 | + "cross-env": "3.2.4", |
| 39 | + "css-loader": "0.27.3", |
| 40 | + "extract-text-webpack-plugin": "<2", |
| 41 | + "file-loader": "0.10.1", |
| 42 | + "handlebars": "4.0.6", |
| 43 | + "handlebars-loader": "1.4.0", |
| 44 | + "html-webpack-plugin": "2.28.0", |
| 45 | + "less": "2.7.2", |
| 46 | + "less-loader": "4.0.2", |
| 47 | + "npm-run-all": "4.1.1", |
| 48 | + "opn-cli": "3.1.0", |
| 49 | + "postcss-loader": "1.3.3", |
| 50 | + "rimraf": "2.6.1", |
| 51 | + "source-map-loader": "0.2.0", |
| 52 | + "style-loader": "0.16.0", |
| 53 | + "url-loader": "0.5.8", |
| 54 | + "webpack": "<2", |
| 55 | + "webpack-dev-server": "<2" |
59 | 56 | },
|
60 | 57 | "dependencies": {
|
61 |
| - "bootstrap": "*", |
62 |
| - "jquery": "*", |
63 |
| - "react": "*", |
64 |
| - "react-dom": "*" |
| 58 | + "babel-polyfill": "6.23.0", |
| 59 | + "bootstrap": "3.3.7", |
| 60 | + "jquery": "3.2.1", |
| 61 | + "react": "15.4.2", |
| 62 | + "react-dom": "15.4.2", |
| 63 | + "react-router": "<4.0.0" |
65 | 64 | },
|
66 | 65 | "babel": {
|
67 | 66 | "presets": [
|
68 |
| - "stage-0", |
69 |
| - "es2015", |
70 |
| - "react" |
| 67 | + "env", |
| 68 | + "react", |
| 69 | + "stage-0" |
71 | 70 | ],
|
72 | 71 | "plugins": [
|
73 | 72 | "react-html-attrs",
|
|
0 commit comments