roadhog依赖替换为webpack,基本完成。
正在显示
.babelrc
0 → 100644
.roadhogrc.mock.js
deleted
100644 → 0
.webpackrc.js
deleted
100644 → 0
cache.js
deleted
100644 → 0
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
{ | ||
"private": true, | ||
"scripts": { | ||
"start": "roadhog dev", | ||
"build": "cross-env ANALYZE=true roadhog build", | ||
"start": "cross-env NODE_ENV=development webpack-dev-server --open --config webpack.dev.js", | ||
"build": "cross-env NODE_ENV=production webpack --config webpack.prod.js", | ||
"test": "roadhog test --require ./test_setup.js", | ||
"lint": "eslint --ext .js src test", | ||
"precommit": "npm run lint", | ||
"storybook": "start-storybook -p 6006", | ||
"build-storybook": "build-storybook" | ||
"storybook": "cross-env NODE_ENV=development start-storybook -p 6006", | ||
"build-storybook": "cross-env NODE_ENV=production build-storybook" | ||
}, | ||
"engines": { | ||
"install-node": "6.9.2" | ||
}, | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@babel/runtime": "^7.0.0-beta.44", | ||
"antd": "^3.3.0", | ||
"axo": "0.0.2", | ||
"bowser": "^1.8.1", | ||
... | ... | @@ -30,7 +32,7 @@ |
"moment": "^2.18.1", | ||
"prop-types": "^15.6.1", | ||
"react": "^16.2.0", | ||
"react-async-wrapper": "^0.1.4", | ||
"react-async-wrapper": "^0.1.6", | ||
"react-dom": "^16.2.0", | ||
"react-json-view": "^1.11.4", | ||
"react-markdown": "^3.3.0", | ||
... | ... | @@ -42,34 +44,88 @@ |
"xml2js": "^0.4.17" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.0.0-beta.40", | ||
"@babel/core": "^7.0.0-beta.44", | ||
"@babel/helper-plugin-utils": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-async-generator-functions": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-decorators": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-do-expressions": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-export-default": "^7.0.0-beta.32", | ||
"@babel/plugin-proposal-export-default-from": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-export-namespace": "^7.0.0-beta.32", | ||
"@babel/plugin-proposal-export-namespace-from": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-function-bind": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-optional-catch-binding": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-optional-chaining": "^7.0.0-beta.44", | ||
"@babel/plugin-proposal-pipeline-operator": "^7.0.0-beta.44", | ||
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.44", | ||
"@babel/plugin-transform-react-constant-elements": "^7.0.0-beta.44", | ||
"@babel/plugin-transform-react-inline-elements": "^7.0.0-beta.44", | ||
"@babel/plugin-transform-runtime": "^7.0.0-beta.44", | ||
"@babel/polyfill": "^7.0.0-beta.44", | ||
"@babel/preset-env": "^7.0.0-beta.44", | ||
"@babel/preset-react": "^7.0.0-beta.44", | ||
"@babel/register": "^7.0.0-beta.40", | ||
"@storybook/addon-info": "^3.3.15", | ||
"@storybook/react": "^3.3.15", | ||
"@storybook/addon-actions": "^3.4.1", | ||
"@storybook/addon-info": "^4.0.0-alpha.2", | ||
"@storybook/addon-links": "^3.4.1", | ||
"@storybook/react": "^4.0.0-alpha.2", | ||
"@types/webpack": "^4.1.3", | ||
"autoprefixer": "^8.2.0", | ||
"awesome-typescript-loader": "^5.0.0", | ||
"babel-core": "^7.0.0-bridge.0", | ||
"babel-eslint": "^8.2.2", | ||
"babel-loader": "^8.0.0-beta.2", | ||
"babel-plugin-dev-expression": "^0.2.1", | ||
"babel-plugin-dva-hmr": "^0.4.1", | ||
"babel-plugin-import": "^1.6.5", | ||
"babel-plugin-lodash": "^3.3.2", | ||
"bundle-loader": "^0.5.6", | ||
"babel-plugin-react-require": "^3.0.0", | ||
"babel-plugin-transform-react-remove-prop-types": "^0.4.13", | ||
"cache-loader": "^1.2.2", | ||
"case-sensitive-paths-webpack-plugin": "^2.1.2", | ||
"chai": "^4.0.2", | ||
"clean-webpack-plugin": "^0.1.19", | ||
"copy-webpack-plugin": "^4.5.1", | ||
"cross-env": "^5.1.3", | ||
"ejs-loader": "^0.3.1", | ||
"enzyme": "^3.3.0", | ||
"eslint": "^4.19.1", | ||
"eslint-config-airbnb": "^16.1.0", | ||
"eslint-loader": "^2.0.0", | ||
"eslint-plugin-import": "^2.10.0", | ||
"eslint-plugin-jsx-a11y": "^6.0.3", | ||
"eslint-plugin-lodash-fp": "^2.1.3", | ||
"eslint-plugin-react": "^7.7.0", | ||
"highlight-loader": "^0.7.2", | ||
"html-webpack-plugin": "latest", | ||
"http-proxy-middleware": "^0.17.4", | ||
"jest": "^22.4.2", | ||
"jsdom": "^11.0.0", | ||
"less": "^3.0.1", | ||
"less-loader": "^4.1.0", | ||
"lodash-webpack-plugin": "^0.11.4", | ||
"markdown-loader": "^2.0.2", | ||
"mini-css-extract-plugin": "^0.4.0", | ||
"mockjs": "^1.0.1-beta3", | ||
"optimize-css-assets-webpack-plugin": "^4.0.0", | ||
"path": "^0.12.7", | ||
"postcss-flexbugs-fixes": "^3.3.0", | ||
"raw-loader": "^0.5.1", | ||
"react-dev-utils": "^5.0.1", | ||
"react-test-renderer": "^16.2.0", | ||
"redbox-react": "^1.5.0", | ||
"webpack": "^4.4.1" | ||
"style-loader": "^0.20.3", | ||
"tslint-loader": "^3.6.0", | ||
"uglifyjs-webpack-plugin": "^1.2.4", | ||
"url-loader": "^1.0.1", | ||
"webpack": "^4.5.0", | ||
"webpack-bundle-analyzer": "^2.11.1", | ||
"webpack-cli": "^2.0.14", | ||
"webpack-dev-server": "^3.1.3", | ||
"webpack-manifest-plugin": "^2.0.0", | ||
"webpack-merge": "^4.1.2" | ||
} | ||
} |
postcss.config.js
0 → 100644
proxy.js
0 → 100644
theme.js
0 → 100644
tools/applyMock.js
0 → 100644
tools/babel-preset.js
0 → 100644
webpack.common.js
0 → 100644
webpack.config.js
deleted
100644 → 0
webpack.dev.js
0 → 100644
webpack.prod.js
0 → 100644
请
注册
或者
登录
后发表评论