|
12 | 12 | "node": ">=10" |
13 | 13 | }, |
14 | 14 | "publishConfig": { |
15 | | - "registry": "https://npm.pkg.github.com/" |
| 15 | + "registry": "https://npm.pkg.github.com/", |
| 16 | + "access": "public" |
16 | 17 | }, |
17 | 18 | "scripts": { |
18 | 19 | "build": "microbundle-crl --no-compress --format modern,cjs --css-modules false", |
|
24 | 25 | "test:unit": "cross-env CI=1 react-scripts test --env=jsdom", |
25 | 26 | "test:watch": "react-scripts test --env=jsdom", |
26 | 27 | "predeploy": "cd example && yarn install && yarn run build", |
27 | | - "deploy": "gh-pages -d example/build" |
| 28 | + "deploy": "gh-pages -d example/build", |
| 29 | + "release": "npm run test && npm run prepare && dotenv release-it" |
28 | 30 | }, |
29 | 31 | "peerDependencies": { |
30 | 32 | "react": "^16.0.0" |
|
39 | 41 | "@types/react-dom": "^16.9.7", |
40 | 42 | "@typescript-eslint/eslint-plugin": "^2.26.0", |
41 | 43 | "@typescript-eslint/parser": "^2.26.0", |
42 | | - "microbundle-crl": "^0.13.10", |
43 | 44 | "babel-eslint": "^10.0.3", |
44 | 45 | "cross-env": "^7.0.2", |
| 46 | + "dotenv-cli": "^3.1.0", |
45 | 47 | "eslint": "^6.8.0", |
46 | 48 | "eslint-config-prettier": "^6.7.0", |
47 | 49 | "eslint-config-standard": "^14.1.0", |
|
53 | 55 | "eslint-plugin-react": "^7.17.0", |
54 | 56 | "eslint-plugin-standard": "^4.0.1", |
55 | 57 | "gh-pages": "^2.2.0", |
| 58 | + "microbundle-crl": "^0.13.10", |
56 | 59 | "npm-run-all": "^4.1.5", |
57 | 60 | "prettier": "^2.0.4", |
58 | 61 | "react": "^16.13.1", |
59 | 62 | "react-dom": "^16.13.1", |
60 | 63 | "react-scripts": "^3.4.1", |
| 64 | + "release-it": "^13.6.3", |
61 | 65 | "typescript": "^3.7.5" |
62 | 66 | }, |
63 | 67 | "files": [ |
|
0 commit comments