提交 353e1028 编写于 作者: S superjom

restore

上级 06c20be9
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
"release": "cross-env NODE_ENV=production node ./tool/build.js", "release": "cross-env NODE_ENV=production node ./tool/build.js",
"build": "cross-env NODE_ENV=dev node ./tool/build.js", "build": "cross-env NODE_ENV=dev node ./tool/build.js",
"dev": "cross-env NODE_ENV=dev node tool/dev-server.js", "dev": "cross-env NODE_ENV=dev node tool/dev-server.js",
"lint": "./node_modules/fecs/bin/fecs --rule" "lint": "./node_modules/fecs/bin/fecs --rule",
"precommit": "npm run lint",
"prepush": "npm run lint"
}, },
"engines": { "engines": {
"node": ">= 6.4.0" "node": ">= 6.4.0"
...@@ -52,6 +54,7 @@ ...@@ -52,6 +54,7 @@
"html-loader": "^0.4.4", "html-loader": "^0.4.4",
"html-webpack-plugin": "^2.28.0", "html-webpack-plugin": "^2.28.0",
"http-proxy-middleware": "^0.17.4", "http-proxy-middleware": "^0.17.4",
"husky": "^0.14.3",
"json-loader": "^0.5.4", "json-loader": "^0.5.4",
"opn": "^5.1.0", "opn": "^5.1.0",
"optimize-css-assets-webpack-plugin": "^1.3.2", "optimize-css-assets-webpack-plugin": "^1.3.2",
......
"use strict";
const webpack = require('webpack'); const webpack = require('webpack');
const rm = require('rimraf'); const rm = require('rimraf');
const ora = require('ora'); const ora = require('ora');
......
"use strict";
const path = require('path'); const path = require('path');
const projectPath = path.resolve(__dirname, '..'); const projectPath = path.resolve(__dirname, '..');
const HtmlWebpackPlugin = require('html-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin');
......
"use strict";
const webpack = require('webpack'); const webpack = require('webpack');
const path = require('path'); const path = require('path');
const projectPath = path.resolve(__dirname, '..'); const projectPath = path.resolve(__dirname, '..');
......
"use strict";
const webpack = require('webpack'); const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin');
const path = require('path'); const path = require('path');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册