|
15 | 15 | "/typings/react-popper.d.ts" |
16 | 16 | ], |
17 | 17 | "scripts": { |
18 | | - "build": "npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:flow", |
| 18 | + "build": "yarn build:clean && yarn build:esm && yarn build:cjs && yarn build:umd && yarn build:flow", |
19 | 19 | "build:clean": "rimraf dist/ && rimraf lib/", |
20 | 20 | "build:umd": "rollup -c && rimraf dist/index.esm.js", |
21 | 21 | "build:esm": "cross-env BABEL_ENV=esm babel src --out-dir lib/esm", |
22 | 22 | "build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir lib/cjs", |
23 | | - "build:flow": "flow-copy-source --ignore '{__mocks__/*,*.test}.js' src lib/cjs", |
| 23 | + "build:flow": "flow-copy-source --ignore '{__typings__/*,*.test}.js' src lib/cjs", |
24 | 24 | "demo:dev": "parcel --out-dir demo/dist demo/index.html", |
25 | 25 | "demo:build": "parcel build --out-dir demo/dist demo/index.html --public-url=/react-popper", |
26 | 26 | "demo:deploy": "yarn demo:build && gh-pages -d demo/dist", |
27 | | - "test": "npm run test:eslint && npm run test:flow && npm run test:ts && npm run test:jest", |
| 27 | + "test": "yarn test:eslint && yarn test:flow && yarn test:ts && yarn test:jest", |
28 | 28 | "test:ts": "tsc --project ./typings/tests", |
29 | 29 | "test:flow": "flow check", |
30 | 30 | "test:jest": "jest", |
31 | 31 | "test:eslint": "eslint src", |
32 | | - "prepare": "npm run build", |
| 32 | + "prepare": "yarn build", |
33 | 33 | "precommit": "pretty-quick --staged && test", |
34 | 34 | "prepublishOnly": "git-branch-is master" |
35 | 35 | }, |
|
58 | 58 | "popover" |
59 | 59 | ], |
60 | 60 | "peerDependencies": { |
| 61 | + "@popperjs/core": "^2.0.0", |
61 | 62 | "react": "0.14.x || ^15.0.0 || ^16.0.0" |
62 | 63 | }, |
63 | 64 | "dependencies": { |
64 | 65 | "@babel/runtime": "^7.1.2", |
65 | 66 | "create-react-context": "^0.3.0", |
66 | 67 | "deep-equal": "^1.1.1", |
67 | | - "popper.js": "^1.14.4", |
68 | 68 | "prop-types": "^15.6.1", |
69 | | - "typed-styles": "^0.0.7", |
70 | 69 | "warning": "^4.0.2" |
71 | 70 | }, |
72 | 71 | "devDependencies": { |
|
76 | 75 | "@babel/plugin-proposal-class-properties": "^7.1.0", |
77 | 76 | "@babel/plugin-transform-modules-commonjs": "^7.1.0", |
78 | 77 | "@babel/plugin-transform-runtime": "^7.1.0", |
| 78 | + "@babel/polyfill": "^7.8.3", |
79 | 79 | "@babel/preset-env": "^7.1.0", |
80 | 80 | "@babel/preset-flow": "^7.0.0", |
81 | 81 | "@babel/preset-react": "^7.0.0", |
82 | 82 | "@babel/preset-stage-2": "^7.0.0", |
| 83 | + "@popperjs/core": "^2.0.4", |
83 | 84 | "@types/react": "^16.1.0", |
84 | 85 | "babel-eslint": "^10.0.1", |
85 | 86 | "babel-jest": "^24.0.0", |
|
94 | 95 | "eslint-plugin-jest": "^21.15.0", |
95 | 96 | "eslint-plugin-promise": "^3.7.0", |
96 | 97 | "eslint-plugin-react": "^7.7.0", |
97 | | - "flow-bin": "^0.69.0", |
98 | | - "flow-copy-source": "^1.3.0", |
| 98 | + "flow-bin": "^0.117.0", |
| 99 | + "flow-copy-source": "^2.0.9", |
99 | 100 | "gh-pages": "^1.1.0", |
100 | 101 | "git-branch-is": "^0.1.0", |
101 | 102 | "jest": "^24.0.0", |
|
115 | 116 | "rollup-plugin-replace": "^2.0.0", |
116 | 117 | "rollup-plugin-size-snapshot": "^0.5.1", |
117 | 118 | "rollup-plugin-uglify": "^4.0.0", |
118 | | - "typescript": "^2.8.1" |
| 119 | + "typescript": "^3.7.5" |
119 | 120 | } |
120 | 121 | } |
0 commit comments