|
1 | 1 | { |
2 | 2 | "name": "clair", |
3 | | - "version": "0.3.1", |
| 3 | + "version": "0.3.2", |
4 | 4 | "description": "A design system including principles, Vue components and resources", |
5 | 5 | "main": "dist/clair.cjs.js", |
6 | 6 | "module": "dist/clair.es.js", |
|
20 | 20 | "build": "run-s clean doc:build bundle rawcss", |
21 | 21 | "start": "npm run doc:dev", |
22 | 22 | "lint": "eslint -f node_modules/eslint-friendly-formatter --ext .js,.vue src docs", |
23 | | - "rawcss": "postcss --no-map -u postcss-easy-import -u postcss-each -u postcss-for -o dist/clair.raw.css src/styles/raw.css" |
| 23 | + "rawcss": "postcss --no-map -u postcss-easy-import -u postcss-each -u postcss-for -o dist/clair.raw.css src/styles/raw.css", |
| 24 | + "travis-deploy-once": "travis-deploy-once", |
| 25 | + "semantic-release": "semantic-release", |
| 26 | + "cz": "git-cz" |
24 | 27 | }, |
25 | 28 | "lint-staged": { |
26 | 29 | "*.css": [ |
|
35 | 38 | }, |
36 | 39 | "repository": { |
37 | 40 | "type": "git", |
38 | | - "url": "git+https://github.com/clair-design/clair.git" |
| 41 | + "url": "https://github.com/clair-design/clair.git" |
39 | 42 | }, |
40 | 43 | "keywords": [ |
41 | 44 | "Design", |
|
49 | 52 | }, |
50 | 53 | "homepage": "https://github.com/clair-design/clair#readme", |
51 | 54 | "devDependencies": { |
| 55 | + "@semantic-release/changelog": "^3.0.0", |
| 56 | + "@semantic-release/git": "^7.0.1", |
| 57 | + "@semantic-release/github": "^5.0.2", |
| 58 | + "@semantic-release/npm": "^5.0.2", |
52 | 59 | "@vue/test-utils": "^1.0.0-beta.11", |
53 | 60 | "cili": "^3.1.2", |
| 61 | + "commitizen": "^2.10.1", |
54 | 62 | "cross-env": "^5.1.1", |
| 63 | + "cz-conventional-changelog": "^2.1.0", |
55 | 64 | "eslint": "^5.3.0", |
56 | 65 | "eslint-config-clair": "^1.0.0", |
57 | 66 | "eslint-friendly-formatter": "^3.0.0", |
| 67 | + "gh-pages": "^1.2.0", |
58 | 68 | "husky": "^0.14.3", |
59 | 69 | "jest": "^22.1.2", |
60 | 70 | "lint-staged": "^4.0.2", |
|
70 | 80 | "rimraf": "^2.6.2", |
71 | 81 | "rollup-plugin-require-context": "^0.0.2", |
72 | 82 | "rollup-plugin-vue": "3.0.0", |
| 83 | + "semantic-release": "^15.9.9", |
73 | 84 | "stylelint": "^8.3.1", |
74 | 85 | "stylelint-config-standard": "^17.0.0", |
| 86 | + "travis-deploy-once": "^5.0.2", |
75 | 87 | "vue-jest": "^1.4.0" |
76 | 88 | }, |
77 | 89 | "dependencies": { |
|
83 | 95 | }, |
84 | 96 | "peerDependencies": { |
85 | 97 | "vue": "^2.5.16" |
| 98 | + }, |
| 99 | + "config": { |
| 100 | + "commitizen": { |
| 101 | + "path": "./node_modules/cz-conventional-changelog" |
| 102 | + } |
| 103 | + }, |
| 104 | + "release": { |
| 105 | + "noCi": true, |
| 106 | + "prepare": [ |
| 107 | + "@semantic-release/changelog", |
| 108 | + "@semantic-release/npm", |
| 109 | + { |
| 110 | + "path": "@semantic-release/git", |
| 111 | + "assets": [ |
| 112 | + "package.json", |
| 113 | + "CHANGELOG.md" |
| 114 | + ], |
| 115 | + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
| 116 | + } |
| 117 | + ], |
| 118 | + "publish": [ |
| 119 | + "@semantic-release/npm", |
| 120 | + "@semantic-release/github" |
| 121 | + ] |
86 | 122 | } |
87 | 123 | } |
0 commit comments