|
21 | 21 | ],
|
22 | 22 | "scripts": {
|
23 | 23 | "build": "babel --extensions .js,.ts src --out-dir lib --copy-files && rimraf lib/__tests__ 'lib/**/__tests__'",
|
| 24 | + "postinstall": "is-ci || husky install", |
24 | 25 | "lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
|
25 | 26 | "prepack": "rimraf lib && yarn build",
|
| 27 | + "prepublishOnly": "pinst --disable", |
26 | 28 | "prettier:check": "prettier --check 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
|
27 | 29 | "prettier:write": "prettier --write 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
|
| 30 | + "postpublish": "pinst --enable", |
28 | 31 | "test": "jest",
|
29 | 32 | "tools:regenerate-docs": "ts-node -T tools/regenerate-docs",
|
30 |
| - "typecheck": "tsc -p .", |
31 |
| - "postinstall": "is-ci || husky install", |
32 |
| - "prepublishOnly": "pinst --disable", |
33 |
| - "postpublish": "pinst --enable" |
| 33 | + "typecheck": "tsc -p ." |
34 | 34 | },
|
35 | 35 | "commitlint": {
|
36 | 36 | "extends": [
|
|
48 | 48 | "singleQuote": true,
|
49 | 49 | "trailingComma": "all"
|
50 | 50 | },
|
| 51 | + "release": { |
| 52 | + "branches": [ |
| 53 | + "main", |
| 54 | + { |
| 55 | + "name": "next", |
| 56 | + "prerelease": true |
| 57 | + } |
| 58 | + ], |
| 59 | + "plugins": [ |
| 60 | + "@semantic-release/commit-analyzer", |
| 61 | + "@semantic-release/release-notes-generator", |
| 62 | + "@semantic-release/changelog", |
| 63 | + "@semantic-release/npm", |
| 64 | + "@semantic-release/git", |
| 65 | + "@semantic-release/github" |
| 66 | + ] |
| 67 | + }, |
51 | 68 | "jest": {
|
52 | 69 | "coverageThreshold": {
|
53 | 70 | "global": {
|
|
134 | 151 | "optional": true
|
135 | 152 | }
|
136 | 153 | },
|
| 154 | + "packageManager": "[email protected]", |
137 | 155 | "engines": {
|
138 | 156 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
139 |
| - }, |
140 |
| - "release": { |
141 |
| - "branches": [ |
142 |
| - "main", |
143 |
| - { |
144 |
| - "name": "next", |
145 |
| - "prerelease": true |
146 |
| - } |
147 |
| - ], |
148 |
| - "plugins": [ |
149 |
| - "@semantic-release/commit-analyzer", |
150 |
| - "@semantic-release/release-notes-generator", |
151 |
| - "@semantic-release/changelog", |
152 |
| - "@semantic-release/npm", |
153 |
| - "@semantic-release/git", |
154 |
| - "@semantic-release/github" |
155 |
| - ] |
156 |
| - }, |
157 |
| - "packageManager": "[email protected]" |
| 157 | + } |
158 | 158 | }
|
0 commit comments