-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.85 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@universal-apps/swan-react",
"version": "1.0.1",
"description": "Re-usable React Components",
"main": "lib/umd/index.js",
"types": "lib/typings/index.d.ts",
"author": "Prashanth R <1409501+prashanthr@users.noreply.github.com>",
"license": "MIT",
"private": false,
"homepage": "https://github.com/prashanthr/swan-react",
"repository": "github:prashanthr/swan-react",
"bugs": {
"url": "https://github.com/prashanthr/swan-react/issues"
},
"keywords": [
"react",
"components",
"library",
"reuse"
],
"files": [
"lib/**.*"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@babel/cli": "^7.10.4",
"@babel/core": "^7.10.4",
"@babel/helper-validator-option": "^7.12.1",
"@babel/node": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@storybook/addon-actions": "^6.0.26",
"@storybook/addon-docs": "^6.0.26",
"@storybook/addon-links": "^6.0.26",
"@storybook/addons": "^6.0.26",
"@storybook/cli": "^6.0.26",
"@storybook/react": "^6.0.26",
"babel-loader": "^8.1.0",
"copyfiles": "^2.3.0",
"css-loader": "^4.2.0",
"html-webpack-plugin": "^4.3.0",
"standard-version": "^9.0.0",
"style-loader": "^1.2.1",
"svg-url-loader": "^6.0.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"dependencies": {
"react-google-recaptcha": "^2.1.0",
"react-google-recaptcha-v3": "^1.5.2"
},
"scripts": {
"start": "webpack-dev-server --open --mode development",
"clean-build": "rm -rf ./lib/",
"clean-storybook": "rm -rf ./docs/",
"compile": "tsc && copyfiles -u 1 -E -V src/**/*.css src/**/*.svg ./lib/esm",
"build-webpack": "webpack --mode $WEBPACK_MODE",
"build": "yarn clean-build && yarn compile && WEBPACK_MODE=production yarn build-webpack",
"build-dev": "yarn clean-build && yarn compile && WEBPACK_MODE=development yarn build-webpack",
"test": "echo \"Error: no test specified\" && exit 1",
"storybook": "start-storybook -p 6006",
"build-storybook": "echo 'ENV:' $NODE_ENV && build-storybook -o ./docs",
"storify-gh": "git fetch && git checkout gh-pages && git pull origin gh-pages && git pull origin master --no-edit && yarn build-storybook && git push origin gh-pages && git checkout master && git clean -fd",
"storify": "yarn clean-storybook && NODE_ENV=production yarn build-storybook && git add ./docs && git commit -m \"docs(storybook): Release storybook version\" && git push origin master",
"release": "standard-version",
"save-release": "git push --follow-tags origin master",
"pk": "rm -rf ./*swan-react*.tgz && yarn pack",
"takeoff": "yarn storify;yarn release && yarn save-release && yarn pk && yarn build && yarn publish"
}
}