|
3 | 3 | "version": "1.3.0",
|
4 | 4 | "main": "build/index.js",
|
5 | 5 | "typings": "build/index.d.ts",
|
6 |
| - "repository": "git://github.com/tdreyno/pretty-please.git", |
| 6 | + "repository": "https://github.com/tdreyno/pretty-please.git", |
| 7 | + "publishConfig": { |
| 8 | + "access": "public" |
| 9 | + }, |
7 | 10 | "scripts": {
|
8 | 11 | "lint": "eslint -c .eslintrc.js --ext .ts src",
|
9 | 12 | "build": "pika build && yarn compress",
|
10 | 13 | "compress": "terser pkg/dist-web/index.js -o pkg/dist-web/index.min.js --source-map --mangle --compress passes=2 --toplevel --mangle-props regex=/_$/ && gzip-size pkg/dist-web/index.min.js",
|
11 | 14 | "test": "jest --runInBand",
|
12 | 15 | "version": "yarn run build",
|
13 |
| - "coverage": "jest --runInBand --coverage --coverageDirectory '../coverage'" |
| 16 | + "coverage": "jest --runInBand --coverage --coverageDirectory '../coverage'", |
| 17 | + "commit": "git-cz", |
| 18 | + "semantic-release": "semantic-release" |
14 | 19 | },
|
15 | 20 | "@pika/pack": {
|
16 | 21 | "pipeline": [
|
|
41 | 46 | },
|
42 | 47 | "husky": {
|
43 | 48 | "hooks": {
|
| 49 | + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
44 | 50 | "pre-commit": "lint-staged"
|
45 | 51 | }
|
46 | 52 | },
|
|
49 | 55 | "yarn": "1.21.1"
|
50 | 56 | },
|
51 | 57 | "devDependencies": {
|
| 58 | + "@commitlint/cli": "^8.3.5", |
| 59 | + "@commitlint/config-conventional": "^8.3.4", |
| 60 | + "@commitlint/prompt": "^8.3.5", |
52 | 61 | "@pika/pack": "^0.5.0",
|
53 | 62 | "@pika/plugin-build-node": "^0.8.1",
|
54 | 63 | "@pika/plugin-build-web": "^0.8.1",
|
55 | 64 | "@pika/plugin-ts-standard-pkg": "^0.8.1",
|
| 65 | + "@semantic-release/github": "^7.0.3", |
| 66 | + "@semantic-release/changelog": "^5.0.0", |
| 67 | + "@semantic-release/git": "^9.0.0", |
56 | 68 | "@types/jest": "^25.1.2",
|
57 | 69 | "@types/puppeteer": "^2.0.0",
|
58 | 70 | "@types/react": "^16.9.19",
|
|
67 | 79 | "ts-toolbelt": "^6.1.13",
|
68 | 80 | "@typescript-eslint/eslint-plugin": "^2.19.0",
|
69 | 81 | "@typescript-eslint/parser": "^2.19.0",
|
| 82 | + "commitizen": "^4.0.3", |
| 83 | + "cz-conventional-changelog": "3.1.0", |
70 | 84 | "eslint": "^6.8.0",
|
71 | 85 | "eslint-config-prettier": "^6.10.0",
|
72 | 86 | "eslint-plugin-prettier": "^3.1.2",
|
| 87 | + "semantic-release": "^17.0.2", |
73 | 88 | "typescript": "^3.7.5"
|
74 | 89 | },
|
75 | 90 | "dependencies": {},
|
76 | 91 | "peerDependencies": {
|
77 | 92 | "react": "^16.11.0"
|
| 93 | + }, |
| 94 | + "config": { |
| 95 | + "commitizen": { |
| 96 | + "path": "./node_modules/cz-conventional-changelog" |
| 97 | + } |
78 | 98 | }
|
79 | 99 | }
|
0 commit comments