|
37 | 37 | "scripts": { |
38 | 38 | "start": "npm run build -- -w", |
39 | 39 | "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files", |
| 40 | + "postbuild": "es-check es5 dist/hmr/hotModuleReplacement.js", |
40 | 41 | "clean": "del-cli dist", |
41 | 42 | "commitlint": "commitlint", |
42 | | - "commitmsg": "commitlint -e $GIT_PARAMS", |
43 | 43 | "lint": "eslint --cache src test", |
44 | 44 | "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", |
45 | 45 | "lint-staged": "lint-staged", |
46 | 46 | "prebuild": "npm run clean", |
47 | | - "prepublish": "npm run build", |
| 47 | + "prepare": "npm run build", |
48 | 48 | "release:validate": "commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)", |
49 | 49 | "security": "npm audit", |
50 | | - "test": "jest", |
| 50 | + "test:only": "jest", |
51 | 51 | "test:watch": "jest --watch", |
52 | 52 | "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage", |
53 | | - "test:manual": "webpack-dev-server test/manual/src/index.js --open --config test/manual/webpack.config.js", |
| 53 | + "pretest": "npm run lint", |
| 54 | + "test": "npm run test:coverage", |
54 | 55 | "ci:lint": "npm run lint && npm run security", |
55 | 56 | "ci:test": "npm run test -- --runInBand", |
56 | 57 | "ci:coverage": "npm run test:coverage -- --runInBand", |
|
66 | 67 | }, |
67 | 68 | "dependencies": { |
68 | 69 | "loader-utils": "^1.1.0", |
69 | | - "lodash": "^4.17.11", |
70 | 70 | "normalize-url": "^2.0.1", |
71 | 71 | "schema-utils": "^1.0.0", |
72 | 72 | "webpack-sources": "^1.1.0" |
73 | 73 | }, |
74 | 74 | "devDependencies": { |
75 | | - "@commitlint/cli": "^6.1.3", |
76 | | - "@commitlint/config-conventional": "^6.1.3", |
77 | | - "@webpack-contrib/eslint-config-webpack": "^2.0.4", |
78 | | - "babel-cli": "^6.26.0", |
79 | | - "babel-jest": "^22.2.2", |
80 | | - "babel-plugin-transform-object-rest-spread": "^6.26.0", |
81 | | - "babel-polyfill": "^6.26.0", |
82 | | - "babel-preset-env": "^1.6.1", |
83 | | - "conventional-github-releaser": "^2.0.2", |
84 | | - "cross-env": "^5.1.3", |
85 | | - "css-loader": "^0.28.10", |
86 | | - "del": "^3.0.0", |
| 75 | + "@babel/cli": "^7.4.4", |
| 76 | + "@babel/core": "^7.4.4", |
| 77 | + "@babel/preset-env": "^7.4.4", |
| 78 | + "@commitlint/cli": "^7.6.1", |
| 79 | + "@commitlint/config-conventional": "^7.6.0", |
| 80 | + "@webpack-contrib/defaults": "^4.0.1", |
| 81 | + "@webpack-contrib/eslint-config-webpack": "^3.0.0", |
| 82 | + "acorn": "^6.1.1", |
| 83 | + "babel-eslint": "^10.0.1", |
| 84 | + "babel-jest": "^24.8.0", |
| 85 | + "commitlint-azure-pipelines-cli": "^1.0.1", |
| 86 | + "cross-env": "^5.2.0", |
| 87 | + "css-loader": "^2.1.1", |
| 88 | + "del": "^4.1.1", |
87 | 89 | "del-cli": "^1.1.0", |
88 | 90 | "es-check": "^5.0.0", |
89 | | - "eslint": "^4.17.0", |
90 | | - "eslint-plugin-import": "^2.8.0", |
91 | | - "eslint-plugin-prettier": "^2.6.0", |
92 | | - "execa": "^1.0.0", |
93 | | - "file-loader": "^1.1.11", |
94 | | - "husky": "^0.14.3", |
95 | | - "jest": "^22.2.2", |
96 | | - "lint-staged": "^6.1.0", |
| 91 | + "eslint": "^5.16.0", |
| 92 | + "eslint-plugin-import": "^2.17.2", |
| 93 | + "eslint-plugin-prettier": "^3.1.0", |
| 94 | + "file-loader": "^3.0.1", |
| 95 | + "husky": "^2.2.0", |
| 96 | + "jest": "^24.8.0", |
| 97 | + "jest-junit": "^6.4.0", |
| 98 | + "lint-staged": "^8.1.6", |
97 | 99 | "memory-fs": "^0.4.1", |
98 | | - "pre-commit": "^1.2.2", |
99 | | - "prettier": "^1.11.1", |
100 | | - "semantic-release": "^15.13.1", |
101 | | - "webpack": "^4.28.0", |
102 | | - "webpack-cli": "^2.0.13", |
103 | | - "webpack-defaults": "^2.3.0", |
104 | | - "webpack-dev-server": "^3.1.14" |
| 100 | + "prettier": "^1.17.0", |
| 101 | + "standard-version": "^6.0.1", |
| 102 | + "webpack": "^4.31.0", |
| 103 | + "webpack-cli": "^3.3.2", |
| 104 | + "webpack-dev-server": "^3.3.1" |
105 | 105 | }, |
106 | 106 | "pre-commit": "lint-staged", |
107 | 107 | "lint-staged": { |
|
0 commit comments