|
3 | 3 | "version": "1.0.0-beta.1", |
4 | 4 | "description": "React wrapper around Popper.js", |
5 | 5 | "license": "MIT", |
6 | | - "author": |
7 | | - "Travis Arnold <[email protected]> (http://souporserious.com)", |
| 6 | + "author": "Travis Arnold <[email protected]> (http://souporserious.com)", |
8 | 7 | "homepage": "https://github.com/souporserious/react-popper", |
9 | 8 | "main": "dist/react-popper.js", |
10 | 9 | "umd:main": "dist/react-popper.umd.js", |
11 | 10 | "module": "lib/index.js", |
12 | 11 | "typings": "typings/react-popper.d.ts", |
13 | | - "files": ["dist", "lib", "typings/react-popper.d.ts"], |
| 12 | + "files": [ |
| 13 | + "dist", |
| 14 | + "lib", |
| 15 | + "typings/react-popper.d.ts" |
| 16 | + ], |
14 | 17 | "scripts": { |
15 | | - "build": |
16 | | - "npm run build:clean && npm run build:es && npm run build:umd && npm run build:cjs && npm run build:flow && npm run build:umd-min && npm run build:cjs-min", |
| 18 | + "build": "npm run build:clean && npm run build:es && npm run build:umd && npm run build:cjs && npm run build:flow && npm run build:umd-min && npm run build:cjs-min", |
17 | 19 | "build:clean": "rimraf dist/ && rimraf lib/", |
18 | 20 | "build:es": "babel src --ignore '*.test.js,__mocks__' --out-dir lib", |
19 | | - "build:umd": |
20 | | - "rollup -c --output.format umd --output.name 'react-popper' --output.file dist/react-popper.umd.js", |
21 | | - "build:cjs": |
22 | | - "rollup -c --output.format cjs --output.name 'react-popper' --output.file dist/react-popper.js", |
| 21 | + "build:umd": "rollup -c --output.format umd --output.name 'react-popper' --output.file dist/react-popper.umd.js", |
| 22 | + "build:cjs": "rollup -c --output.format cjs --output.name 'react-popper' --output.file dist/react-popper.js", |
23 | 23 | "build:flow": "flow-copy-source --ignore '{__mocks__/*,*.test}.js' src lib", |
24 | | - "build:umd-min": |
25 | | - "MINIFY=true rollup -c --output.format umd --output.name 'react-popper' --output.file dist/react-popper.umd.min.js", |
26 | | - "build:cjs-min": |
27 | | - "MINIFY=true rollup -c --output.format cjs --output.name 'react-popper' --output.file dist/react-popper.min.js", |
| 24 | + "build:umd-min": "MINIFY=true rollup -c --output.format umd --output.name 'react-popper' --output.file dist/react-popper.umd.min.js", |
| 25 | + "build:cjs-min": "MINIFY=true rollup -c --output.format cjs --output.name 'react-popper' --output.file dist/react-popper.min.js", |
28 | 26 | "demo": "parcel --out-dir demo/dist demo/index.html", |
29 | | - "test": |
30 | | - "npm run test:eslint && npm run test:flow && npm run test:ts && npm run test:jest", |
| 27 | + "test": "npm run test:eslint && npm run test:flow && npm run test:ts && npm run test:jest", |
31 | 28 | "test:ts": "tsc --project ./typings/tests", |
32 | 29 | "test:flow": "flow check", |
33 | 30 | "test:jest": "jest", |
|
37 | 34 | }, |
38 | 35 | "jest": { |
39 | 36 | "setupTestFrameworkScriptFile": "<rootDir>jest.setup.js", |
40 | | - "snapshotSerializers": ["enzyme-to-json/serializer"] |
| 37 | + "snapshotSerializers": [ |
| 38 | + "enzyme-to-json/serializer" |
| 39 | + ] |
41 | 40 | }, |
42 | 41 | "repository": { |
43 | 42 | "type": "git", |
|
75 | 74 | "babel-plugin-transform-react-remove-prop-types": "^0.4.13", |
76 | 75 | "babel-preset-env": "^1.6.1", |
77 | 76 | "babel-preset-react": "^6.24.1", |
78 | | - "babel-preset-stage-2": "^6.24.1", |
| 77 | + "babel-preset-stage-1": "^6.24.1", |
79 | 78 | "enzyme": "^3.3.0", |
80 | 79 | "enzyme-adapter-react-16": "^1.1.1", |
81 | 80 | "enzyme-to-json": "^3.3.3", |
|
0 commit comments