|
27 | 27 | "react-split-pane", |
28 | 28 | "es6" |
29 | 29 | ], |
| 30 | + "scripts": { |
| 31 | + "prebuild": "npm run clean", |
| 32 | + "build": "rollup -c", |
| 33 | + "build:watch": "rollup -c --watch", |
| 34 | + "clean": "rimraf dist", |
| 35 | + "test": "mochify -R spec --transform babelify", |
| 36 | + "test:watch": "mochify -R spec --watch --transform babelify", |
| 37 | + "test:coverage": "mochify --plugin [ mochify-istanbul --exclude '**/test/**' --report lcovonly ] --transform babelify && cat lcov.info | coveralls && rm lcov.info", |
| 38 | + "website:start": "npm run start --prefix website", |
| 39 | + "website:deploy": "npm run deploy --prefix website", |
| 40 | + "prettier": "prettier --write '{src,test}/**/*.js'", |
| 41 | + "lint": "eslint src test", |
| 42 | + "release:patch": "npm test && npm run build && npm version patch && git push && npm publish", |
| 43 | + "precommit": "lint-staged" |
| 44 | + }, |
| 45 | + "husky": { |
| 46 | + "hooks": { |
| 47 | + "pre-commit": "pretty-quick --staged" |
| 48 | + } |
| 49 | + }, |
30 | 50 | "dependencies": { |
31 | | - "inline-style-prefixer": "^3.0.6", |
32 | 51 | "prop-types": "^15.5.10", |
| 52 | + "react": "^16.6.3", |
| 53 | + "react-dom": "^16.6.3", |
33 | 54 | "react-lifecycles-compat": "^3.0.4", |
34 | 55 | "react-style-proptype": "^3.0.0" |
35 | 56 | }, |
36 | 57 | "devDependencies": { |
37 | | - "@types/inline-style-prefixer": "^3.0.1", |
| 58 | + "@babel/core": "^7.2.0", |
| 59 | + "@babel/preset-env": "^7.2.0", |
| 60 | + "@babel/preset-react": "^7.0.0", |
38 | 61 | "@types/react": "^16.0.36", |
39 | | - "babel-cli": "^6.24.1", |
40 | | - "babel-eslint": "^8.2.3", |
41 | | - "babel-plugin-external-helpers": "^6.22.0", |
42 | | - "babel-preset-env": "^1.7.0", |
43 | | - "babel-preset-react": "^6.24.1", |
44 | | - "babel-preset-stage-0": "^6.24.1", |
45 | | - "babelify": "^7.3.0", |
| 62 | + "babel-eslint": "^10.0.1", |
| 63 | + "babelify": "^10.0.0", |
46 | 64 | "chai": "^4.0.2", |
47 | 65 | "chai-spies": "^0.7.1", |
48 | 66 | "coveralls": "^2.13.1", |
49 | 67 | "cross-env": "^5.2.0", |
50 | 68 | "eslint": "^4.19.1", |
51 | | - "eslint-config-fbjs": "^2.0.1", |
| 69 | + "eslint-config-fbjs": "^2.1.0", |
52 | 70 | "eslint-config-prettier": "^2.9.0", |
53 | 71 | "eslint-config-react": "^1.1.7", |
54 | 72 | "eslint-plugin-babel": "^5.1.0", |
|
57 | 75 | "eslint-plugin-prettier": "^2.6.0", |
58 | 76 | "eslint-plugin-react": "^7.9.1", |
59 | 77 | "eslint-plugin-relay": "^0.0.21", |
60 | | - "husky": "^0.14.3", |
61 | | - "lint-staged": "^7.2.0", |
| 78 | + "husky": "^1.2.0", |
62 | 79 | "mochify": "^5.8.0", |
63 | 80 | "mochify-istanbul": "^2.4.2", |
64 | | - "prettier": "^1.13.5", |
65 | | - "react": "^16.4.2", |
66 | | - "react-dom": "^16.4.2", |
| 81 | + "prettier": "1.15.3", |
| 82 | + "pretty-quick": "^1.8.0", |
67 | 83 | "rimraf": "^2.6.2", |
68 | 84 | "rollup": "^0.60.7", |
69 | | - "rollup-plugin-babel": "^3.0.4", |
| 85 | + "rollup-plugin-babel": "^4.0.3", |
70 | 86 | "rollup-plugin-commonjs": "^9.1.3", |
71 | | - "rollup-plugin-node-resolve": "^3.3.0", |
72 | | - "surge": "^0.19.0" |
73 | | - }, |
74 | | - "scripts": { |
75 | | - "build": "npm run clean && rollup -c", |
76 | | - "build:watch": "rollup -c --watch", |
77 | | - "clean": "rimraf dist", |
78 | | - "test": "cross-env NODE_ENV=test mochify -R spec --transform babelify", |
79 | | - "test:watch": "cross-env NODE_ENV=test mochify -R spec --watch --transform babelify", |
80 | | - "test:coverage": "cross-env NODE_ENV=test mochify --plugin [ mochify-istanbul --exclude '**/test/**' --report lcovonly ] --transform babelify && cat lcov.info | coveralls && rm lcov.info", |
81 | | - "website:start": "npm run start --prefix website", |
82 | | - "website:deploy": "npm run deploy --prefix website", |
83 | | - "prettier": "prettier --write '{src,test}/**/*.js'", |
84 | | - "lint": "eslint src test", |
85 | | - "release:patch": "npm test && npm run build && npm version patch && git push && npm publish", |
86 | | - "precommit": "lint-staged" |
87 | | - }, |
88 | | - "lint-staged": { |
89 | | - "*.js": [ |
90 | | - "prettier --write", |
91 | | - "git add" |
92 | | - ] |
93 | | - }, |
94 | | - "babel": { |
95 | | - "presets": [ |
96 | | - "./.babelrc.js" |
97 | | - ] |
| 87 | + "rollup-plugin-node-resolve": "^3.3.0" |
98 | 88 | } |
99 | 89 | } |
0 commit comments