|
1 | 1 | { |
2 | | - "version": "0.1.0", |
| 2 | + "version": "0.1.1", |
3 | 3 | "license": "MIT", |
4 | 4 | "main": "dist/index.js", |
5 | 5 | "typings": "dist/index.d.ts", |
|
17 | 17 | "lint": "tsdx lint", |
18 | 18 | "prepare": "tsdx build", |
19 | 19 | "storybook": "start-storybook -p 6006", |
20 | | - "build-storybook": "build-storybook" |
| 20 | + "build-storybook": "build-storybook --docs", |
| 21 | + "deploy-storybook": "storybook-to-ghpages", |
| 22 | + "release": "semantic-release" |
21 | 23 | }, |
22 | 24 | "peerDependencies": { |
23 | | - "react": ">=16" |
| 25 | + "react": ">=16.8.0", |
| 26 | + "react-dom": ">=16.8.0" |
24 | 27 | }, |
25 | 28 | "husky": { |
26 | 29 | "hooks": { |
|
38 | 41 | "module": "dist/react-smooth-scroll-hook.esm.js", |
39 | 42 | "devDependencies": { |
40 | 43 | "@babel/core": "^7.11.4", |
| 44 | + "@semantic-release/changelog": "^5.0.1", |
| 45 | + "@semantic-release/commit-analyzer": "^8.0.1", |
| 46 | + "@semantic-release/git": "^9.0.0", |
| 47 | + "@semantic-release/npm": "^7.0.5", |
| 48 | + "@semantic-release/release-notes-generator": "^9.0.1", |
41 | 49 | "@storybook/addon-actions": "^6.0.16", |
42 | 50 | "@storybook/addon-docs": "^6.0.16", |
43 | 51 | "@storybook/addon-info": "^5.3.19", |
44 | 52 | "@storybook/addon-links": "^6.0.16", |
45 | 53 | "@storybook/addons": "^6.0.16", |
46 | 54 | "@storybook/react": "^6.0.16", |
| 55 | + "@storybook/storybook-deployer": "^2.8.6", |
47 | 56 | "@types/react": "^16.9.46", |
48 | 57 | "@types/react-dom": "^16.9.8", |
49 | 58 | "babel-loader": "^8.1.0", |
|
52 | 61 | "react-docgen-typescript-loader": "^3.7.2", |
53 | 62 | "react-dom": "^16.13.1", |
54 | 63 | "react-is": "^16.13.1", |
| 64 | + "semantic-release": "^17.1.1", |
55 | 65 | "ts-loader": "^8.0.2", |
56 | 66 | "tsdx": "^0.13.2", |
57 | 67 | "tslib": "^2.0.1", |
58 | 68 | "typescript": "^4.0.2" |
| 69 | + }, |
| 70 | + "publishConfig": { |
| 71 | + "access": "public" |
| 72 | + }, |
| 73 | + "release": { |
| 74 | + "plugins": [ |
| 75 | + "@semantic-release/commit-analyzer", |
| 76 | + "@semantic-release/release-notes-generator", |
| 77 | + "@semantic-release/changelog", |
| 78 | + "@semantic-release/npm", |
| 79 | + "@semantic-release/git", |
| 80 | + "@semantic-release/github" |
| 81 | + ], |
| 82 | + "branch": "master" |
59 | 83 | } |
60 | 84 | } |
0 commit comments