Skip to content

Commit d0ead51

Browse files
committed
Release 1.0.1
1 parent 92882a6 commit d0ead51

3 files changed

Lines changed: 137 additions & 14 deletions

File tree

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["react-app"]
3+
}

package-lock.json

Lines changed: 112 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,33 @@
44
"dependencies": {
55
"bootstrap": "^4.1.3",
66
"formik": "^1.3.0",
7-
"react": "^16.5.2",
8-
"react-scripts": "1.1.5",
97
"reactstrap": "^6.4.0"
108
},
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-
},
209
"devDependencies": {
2110
"@storybook/addon-actions": "^3.4.11",
2211
"@storybook/addon-links": "^3.4.11",
2312
"@storybook/addons": "^3.4.11",
2413
"@storybook/react": "^3.4.11",
2514
"@storybook/storybook-deployer": "^2.3.0",
15+
"babel-cli": "^6.26.0",
2616
"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"
2834
},
2935
"author": "Shoaib Khan <[email protected]",
3036
"repository": {
@@ -38,5 +44,8 @@
3844
"bootstrap",
3945
"reactstrap"
4046
],
41-
"license": "MIT"
47+
"license": "MIT",
48+
"main": "dist/index.js",
49+
"module": "dist/index.js",
50+
"files": [ "dist", "README.md" ]
4251
}

0 commit comments

Comments
 (0)