|
4 | 4 | "dependencies": { |
5 | 5 | "bootstrap": "^4.1.3", |
6 | 6 | "formik": "^1.3.0", |
7 | | - "react": "^16.5.2", |
8 | | - "react-scripts": "1.1.5", |
9 | 7 | "reactstrap": "^6.4.0" |
10 | 8 | }, |
11 | | - "scripts": { |
12 | | - "start": "react-scripts start", |
13 | | - "build": "react-scripts build", |
14 | | - "test": "react-scripts test --env=jsdom", |
15 | | - "eject": "react-scripts eject", |
16 | | - "storybook": "start-storybook -p 9009 -s public", |
17 | | - "build-storybook": "build-storybook -c .storybook -o .out", |
18 | | - "deploy-storybook": "storybook-to-ghpages" |
19 | | - }, |
20 | 9 | "devDependencies": { |
21 | 10 | "@storybook/addon-actions": "^3.4.11", |
22 | 11 | "@storybook/addon-links": "^3.4.11", |
23 | 12 | "@storybook/addons": "^3.4.11", |
24 | 13 | "@storybook/react": "^3.4.11", |
25 | 14 | "@storybook/storybook-deployer": "^2.3.0", |
| 15 | + "babel-cli": "^6.26.0", |
26 | 16 | "babel-core": "^6.26.3", |
27 | | - "babel-runtime": "^6.26.0" |
| 17 | + "babel-runtime": "^6.26.0", |
| 18 | + "react": "^16.5.2", |
| 19 | + "react-dom": "^16.5.2", |
| 20 | + "react-scripts": "1.1.5" |
| 21 | + }, |
| 22 | + "peerDependencies": { |
| 23 | + "react": "^16.5.2", |
| 24 | + "react-dom": "^16.5.2" |
| 25 | + }, |
| 26 | + "scripts": { |
| 27 | + "start": "react-scripts start", |
| 28 | + "build": "rm -rf dist && NODE_ENV=production babel src/components --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,__snapshots__", |
| 29 | + "test": "react-scripts test --env=jsdom", |
| 30 | + "eject": "react-scripts eject", |
| 31 | + "storybook": "start-storybook -p 9009 -s .out", |
| 32 | + "build-storybook": "build-storybook -c .storybook -o .out", |
| 33 | + "deploy-storybook": "storybook-to-ghpages" |
28 | 34 | }, |
29 | 35 | "author": "Shoaib Khan <[email protected]", |
30 | 36 | "repository": { |
|
38 | 44 | "bootstrap", |
39 | 45 | "reactstrap" |
40 | 46 | ], |
41 | | - "license": "MIT" |
| 47 | + "license": "MIT", |
| 48 | + "main": "dist/index.js", |
| 49 | + "module": "dist/index.js", |
| 50 | + "files": [ "dist", "README.md" ] |
42 | 51 | } |
0 commit comments