|
17 | 17 | "build:clean": "rm -rf dist/*",
|
18 | 18 | "build:rollup": "NODE_ENV=production rollup -c",
|
19 | 19 | "build:flow": "flow-copy-source src dist/es -i \"**/*.spec.js\"",
|
20 |
| - "build": "npm run build:clean && npm run build:css && npm run build:flow && npm run build:rollup", |
| 20 | + "build": |
| 21 | + "npm run build:clean && npm run build:css && npm run build:flow && npm run build:rollup", |
21 | 22 | "start": "npm run js:watch",
|
22 |
| - "start-demo": "webpack-dev-server --config ./webpack/webpack.config.demo.js", |
23 |
| - "pages": "rm -rf pages && cp -R demo pages && webpack --config=./webpack/webpack.config.pages.js", |
| 23 | + "start-demo": |
| 24 | + "webpack-dev-server --config ./webpack/webpack.config.demo.js", |
| 25 | + "pages": |
| 26 | + "rm -rf pages && cp -R demo pages && webpack --config=./webpack/webpack.config.pages.js", |
24 | 27 | "deploy": "npm run pages && ./bin/deploy.sh",
|
25 | 28 | "prettier": "prettier **/*.js --write",
|
26 | 29 | "prepublishOnly": "npm run build"
|
|
42 | 45 | ],
|
43 | 46 | "env": {
|
44 | 47 | "test": {
|
45 |
| - "presets": [ |
46 |
| - "es2015", |
47 |
| - "react", |
48 |
| - "stage-2" |
49 |
| - ] |
| 48 | + "presets": ["es2015", "react", "stage-2"] |
50 | 49 | }
|
51 | 50 | }
|
52 | 51 | },
|
53 | 52 | "jest": {
|
54 |
| - "setupFiles": [ |
55 |
| - "./src/setupTests.js" |
56 |
| - ], |
57 |
| - "testPathIgnorePatterns": [ |
58 |
| - "/node_modules/", |
59 |
| - "/dist/" |
60 |
| - ] |
| 53 | + "setupFiles": ["./src/setupTests.js"], |
| 54 | + "testPathIgnorePatterns": ["/node_modules/", "/dist/"] |
61 | 55 | },
|
62 | 56 | "keywords": [
|
63 | 57 | "react",
|
|
67 | 61 | "accessible",
|
68 | 62 | "accessibility"
|
69 | 63 | ],
|
70 |
| - "authors": [ |
71 |
| - "Vincent Audebert <[email protected]>" |
72 |
| - ], |
| 64 | + "authors": [ "Vincent Audebert <[email protected]>"], |
73 | 65 | "contributors": [
|
74 | 66 | {
|
75 | 67 | "name": "Mitch Ryan",
|
|
91 | 83 | "babel-cli": "^6.26.0",
|
92 | 84 | "babel-eslint": "^8.2.2",
|
93 | 85 | "babel-loader": "^7.1.2",
|
| 86 | + "babel-polyfill": "^6.26.0", |
94 | 87 | "babel-preset-es2015": "^6.24.1",
|
95 | 88 | "babel-preset-react": "^6.24.1",
|
96 | 89 | "babel-preset-stage-2": "^6.24.1",
|
|
0 commit comments