|
8 | 8 | "license": "MIT", |
9 | 9 | "private": false, |
10 | 10 | "scripts": { |
11 | | - "pretest": "npm run build && npm run lint", |
| 11 | + "pretest": "yarn run build && yarn run lint", |
12 | 12 | "lint": "eslint src", |
13 | 13 | "test": "jest --coverage", |
14 | 14 | "build": "babel src --out-dir lib", |
15 | | - "prepublish": "npm run build" |
| 15 | + "prepush": "yarn run test", |
| 16 | + "prepare": "yarn run build" |
16 | 17 | }, |
17 | 18 | "keywords": [ |
18 | 19 | "string", |
|
33 | 34 | ] |
34 | 35 | }, |
35 | 36 | "devDependencies": { |
36 | | - "babel-cli": "^6.26.0", |
37 | | - "babel-plugin-transform-runtime": "^6.23.0", |
38 | | - "babel-preset-env": "^1.6.1", |
39 | | - "eslint": "^4.19.1", |
40 | | - "eslint-config-airbnb-base": "^12.1.0", |
41 | | - "eslint-plugin-import": "^2.9.0", |
42 | | - "jest": "^22.4.3" |
| 37 | + "@babel/cli": "^7.0.0", |
| 38 | + "@babel/core": "^7.0.0", |
| 39 | + "@babel/preset-env": "^7.0.0", |
| 40 | + "babel-core": "^7.0.0-0", |
| 41 | + "babel-jest": "^23.4.2", |
| 42 | + "eslint": "^5.5.0", |
| 43 | + "eslint-config-airbnb-base": "^13.1.0", |
| 44 | + "eslint-plugin-import": "^2.14.0", |
| 45 | + "husky": "^0.14.3", |
| 46 | + "jest": "^23.5.0", |
| 47 | + "regenerator-runtime": "^0.12.1" |
43 | 48 | } |
44 | 49 | } |
0 commit comments