|
1 | 1 | {
|
2 | 2 | "name": "react-sortablejs",
|
| 3 | + "version": "6.0.0", |
3 | 4 | "author": {
|
4 | 5 | "name": "Wayne Van Son",
|
5 | 6 |
|
6 | 7 | },
|
7 | 8 | "license": "MIT",
|
8 |
| - "version": "6.0.0", |
9 | 9 | "private": false,
|
10 |
| - "main": "dist/index.js", |
11 |
| - "types": "dist/index.d.ts", |
12 | 10 | "files": [
|
13 | 11 | "dist"
|
14 | 12 | ],
|
| 13 | + "main": "dist/index.js", |
| 14 | + "types": "dist/index.d.ts", |
15 | 15 | "scripts": {
|
16 | 16 | "commit": "cz",
|
17 | 17 | "prepublishOnly": "yarn build",
|
|
25 | 25 | "style:format": "prettier -w src",
|
26 | 26 | "style:lint": "eslint src/**"
|
27 | 27 | },
|
28 |
| - "release": { |
29 |
| - "plugins": [ |
30 |
| - "@semantic-release/commit-analyzer", |
31 |
| - "@semantic-release/release-notes-generator", |
32 |
| - "@semantic-release/changelog", |
33 |
| - [ |
34 |
| - "@semantic-release/github", |
35 |
| - { |
36 |
| - "assets": [ |
37 |
| - "dist/**" |
38 |
| - ] |
39 |
| - } |
40 |
| - ], |
41 |
| - "@semantic-release/npm", |
42 |
| - "@semantic-release/git", |
43 |
| - [ |
44 |
| - "@semantic-release/git", |
45 |
| - { |
46 |
| - "assets": [ |
47 |
| - "package.json" |
48 |
| - ], |
49 |
| - "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
50 |
| - } |
51 |
| - ] |
52 |
| - ] |
53 |
| - }, |
54 |
| - "husky": { |
55 |
| - "hooks": { |
56 |
| - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
57 |
| - "pre-commit": "yarn style && yarn build", |
58 |
| - "pre-push": "yarn style && yarn build" |
59 |
| - } |
60 |
| - }, |
61 |
| - "config": { |
62 |
| - "commitizen": { |
63 |
| - "path": "./node_modules/cz-conventional-changelog" |
64 |
| - } |
65 |
| - }, |
66 |
| - "commitlint": { |
67 |
| - "extends": [ |
68 |
| - "@commitlint/config-conventional" |
69 |
| - ] |
70 |
| - }, |
71 | 28 | "peerDependencies": {
|
72 | 29 | "@types/sortablejs": "^1.10.0",
|
73 | 30 | "react": "^16.9.0",
|
|
115 | 72 | "ts-jest": "^26.4.0",
|
116 | 73 | "ts-node": "^9.0.0",
|
117 | 74 | "typescript": "^4.0.3"
|
| 75 | + }, |
| 76 | + "commitlint": { |
| 77 | + "extends": [ |
| 78 | + "@commitlint/config-conventional" |
| 79 | + ] |
| 80 | + }, |
| 81 | + "config": { |
| 82 | + "commitizen": { |
| 83 | + "path": "./node_modules/cz-conventional-changelog" |
| 84 | + } |
| 85 | + }, |
| 86 | + "husky": { |
| 87 | + "hooks": { |
| 88 | + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
| 89 | + "pre-commit": "yarn style && yarn build", |
| 90 | + "pre-push": "yarn style && yarn build" |
| 91 | + } |
| 92 | + }, |
| 93 | + "release": { |
| 94 | + "plugins": [ |
| 95 | + "@semantic-release/commit-analyzer", |
| 96 | + "@semantic-release/release-notes-generator", |
| 97 | + "@semantic-release/changelog", |
| 98 | + [ |
| 99 | + "@semantic-release/github", |
| 100 | + { |
| 101 | + "assets": [ |
| 102 | + "dist/**" |
| 103 | + ] |
| 104 | + } |
| 105 | + ], |
| 106 | + "@semantic-release/npm", |
| 107 | + "@semantic-release/git", |
| 108 | + [ |
| 109 | + "@semantic-release/git", |
| 110 | + { |
| 111 | + "assets": [ |
| 112 | + "package.json" |
| 113 | + ], |
| 114 | + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
| 115 | + } |
| 116 | + ] |
| 117 | + ] |
118 | 118 | }
|
119 | 119 | }
|
0 commit comments