|
2 | 2 | "name": "event-perk-grid", |
3 | 3 | "version": "0.1.7", |
4 | 4 | "description": "A utility for reading and displaying Event Perk Grids.", |
5 | | - "main": "dist/index.js", |
| 5 | + "keywords": [], |
| 6 | + "homepage": "https://tildeio.github.io/event-perk-grid", |
| 7 | + "bugs": { |
| 8 | + "url": "https://github.com/tildeio/event-perk-grid/issues" |
| 9 | + }, |
| 10 | + "repository": { |
| 11 | + "type": "git", |
| 12 | + "url": "git+https://github.com/tildeio/event-perk-grid.git" |
| 13 | + }, |
| 14 | + "license": "MIT", |
| 15 | + "author": "Tilde Engineering <[email protected]> (https://tilde.io)", |
6 | 16 | "exports": { |
7 | 17 | ".": "./dist/index.js", |
8 | 18 | "./custom-element": "./dist/custom-element.js", |
9 | 19 | "./index.css": "./dist/index.css" |
10 | 20 | }, |
| 21 | + "main": "dist/index.js", |
11 | 22 | "types": "dist/index.d.ts", |
12 | 23 | "files": [ |
13 | 24 | "dist/**/*" |
14 | 25 | ], |
15 | | - "repository": { |
16 | | - "type": "git", |
17 | | - "url": "git+https://github.com/tildeio/event-perk-grid.git" |
18 | | - }, |
19 | | - "keywords": [], |
20 | | - "author": "Tilde Engineering <[email protected]> (https://tilde.io)", |
21 | | - "license": "MIT", |
22 | | - "bugs": { |
23 | | - "url": "https://github.com/tildeio/event-perk-grid/issues" |
24 | | - }, |
25 | | - "homepage": "https://tildeio.github.io/event-perk-grid", |
26 | 26 | "scripts": { |
27 | 27 | "build:test": "webpack --mode development -c webpack.tests.config.js", |
28 | 28 | "build:testem": "TESTEM=true webpack --mode development -c webpack.tests.config.js", |
|
35 | 35 | "lint:fix": "npm-run-all --continue-on-error lint:*:fix", |
36 | 36 | "start": "webpack serve --open --mode development -c webpack.tests.config.js", |
37 | 37 | "test": "testem", |
38 | | - "preversion": "yarn lint && yarn build && yarn test && yarn docs", |
39 | | - "prepare": "yarn build", |
40 | 38 | "docs": "typedoc", |
41 | | - "docs:deploy": "yarn docs && cd docs && yarn ember deploy production" |
| 39 | + "docs:deploy": "yarn docs && cd docs && yarn ember deploy production", |
| 40 | + "release": "release-it" |
42 | 41 | }, |
43 | 42 | "devDependencies": { |
44 | 43 | "@types/dotenv-webpack": "^7.0.3", |
|
65 | 64 | "prettier": "^2.5.1", |
66 | 65 | "qunit": "^2.17.2", |
67 | 66 | "qunit-dom": "^2.0.0", |
| 67 | + "release-it": "^14.2.1", |
| 68 | + "release-it-lerna-changelog": "^3.1.0", |
68 | 69 | "style-loader": "^3.3.1", |
69 | 70 | "stylelint": "^14.4.0", |
70 | 71 | "stylelint-config-prettier": "^9.0.3", |
|
77 | 78 | "webpack-cli": "^4.9.2", |
78 | 79 | "webpack-dev-server": "^4.7.4" |
79 | 80 | }, |
80 | | - "volta": { |
81 | | - "node": "14.18.3", |
82 | | - "yarn": "1.22.17" |
| 81 | + "publishConfig": { |
| 82 | + "registry": "https://registry.npmjs.org" |
83 | 83 | }, |
84 | 84 | "msw": { |
85 | 85 | "workerDirectory": "tests" |
| 86 | + }, |
| 87 | + "release-it": { |
| 88 | + "plugins": { |
| 89 | + "release-it-lerna-changelog": { |
| 90 | + "infile": "CHANGELOG.md", |
| 91 | + "launchEditor": false |
| 92 | + } |
| 93 | + }, |
| 94 | + "git": { |
| 95 | + "tagName": "v${version}" |
| 96 | + }, |
| 97 | + "github": { |
| 98 | + "release": true, |
| 99 | + "tokenRef": "GITHUB_AUTH" |
| 100 | + }, |
| 101 | + "hooks": { |
| 102 | + "before:init": [ |
| 103 | + "yarn install", |
| 104 | + "yarn lint", |
| 105 | + "yarn build", |
| 106 | + "yarn test", |
| 107 | + "yarn docs" |
| 108 | + ], |
| 109 | + "after:release": [ |
| 110 | + "yarn docs:deploy", |
| 111 | + "echo Successfully released ${name} v${version} to ${repo.repository}." |
| 112 | + ] |
| 113 | + } |
| 114 | + }, |
| 115 | + "volta": { |
| 116 | + "node": "14.18.3", |
| 117 | + "yarn": "1.22.17" |
86 | 118 | } |
87 | 119 | } |
0 commit comments