|
8 | 8 | }, |
9 | 9 | "dependencies": {}, |
10 | 10 | "devDependencies": { |
| 11 | + "@babel/cli": "^7.10.1", |
| 12 | + "@babel/register": "^7.10.1", |
| 13 | + "@babel/core": "^7.10.2", |
| 14 | + "@babel/plugin-proposal-class-properties": "^7.10.1", |
| 15 | + "@babel/plugin-proposal-decorators": "^7.10.1", |
| 16 | + "@babel/plugin-proposal-object-rest-spread": "^7.10.1", |
| 17 | + "@babel/plugin-transform-modules-commonjs": "^7.10.1", |
| 18 | + "@babel/plugin-transform-react-jsx": "^7.10.1", |
| 19 | + "@babel/polyfill": "^7.10.1", |
| 20 | + "@babel/preset-env": "^7.10.2", |
11 | 21 | "auto-changelog": "^2.0.0", |
12 | | - "babel-cli": "^6.5.2", |
13 | | - "babel-core": "^6.24.0", |
14 | 22 | "babel-eslint": "^10.1.0", |
15 | | - "babel-loader": "^7.0.0", |
16 | | - "babel-plugin-transform-decorators-legacy": "^1.3.4", |
17 | | - "babel-plugin-transform-object-rest-spread": "^6.26.0", |
18 | | - "babel-plugin-transform-react-jsx": "^6.8.0", |
19 | | - "babel-preset-env": "^1.6.1", |
20 | | - "babel-preset-stage-0": "^6.5.0", |
21 | | - "babel-register": "^6.24.0", |
22 | | - "babel-runtime": "^6.11.6", |
| 23 | + "babel-jest": "^26.0.1", |
| 24 | + "babel-loader": "^8.1.0", |
23 | 25 | "caniuse-lite": "^1.0.30000792", |
24 | 26 | "cross-env": "^7.0.0", |
25 | 27 | "css-loader": "^3.0.0", |
|
32 | 34 | "gh-release": "^3.4.0", |
33 | 35 | "gotrue-js": "^0.9.21", |
34 | 36 | "html-webpack-plugin": "^4.3.0", |
35 | | - "json-loader": "^0.5.4", |
36 | 37 | "mkdirp": "^0.5.1", |
37 | 38 | "mobx": "^3.2.2", |
38 | 39 | "mobx-preact": "^1.1.0", |
|
70 | 71 | "dev": "cross-env NODE_ENV=development webpack-dev-server --inline --progress --config webpack.config.babel.js", |
71 | 72 | "format": "prettier --write 'src/**/*.js' '*.js'", |
72 | 73 | "format-preview": "prettier --list-different 'src/**/*.js' '*.js'", |
| 74 | + "format-check": "prettier --check 'src/**/*.js' '*.js'", |
73 | 75 | "prebuild": "rimraf build && mkdirp build", |
74 | 76 | "prepublish": "run-s build", |
75 | 77 | "prestart": "run-s build", |
76 | 78 | "publish": "git push && git push --tags && gh-release", |
77 | 79 | "react-demo": "cd example && yarn && yarn start", |
78 | 80 | "release": "node ./script/release.js", |
79 | | - "test": "eslint src", |
| 81 | + "lint": "eslint src", |
| 82 | + "test": "run-s lint format-check", |
80 | 83 | "version": "run-s release changelog" |
81 | 84 | } |
82 | 85 | } |
0 commit comments