|
1 | 1 | { |
2 | | - "name": "keypairoom", |
| 2 | + "name": "@dyne/keypairoom", |
3 | 3 | "version": "1.0.0", |
4 | 4 | "description": "Keypair library", |
5 | 5 | "main": "lib/index.js", |
|
8 | 8 | "format": "prettier --write \"src/**/*.ts\"", |
9 | 9 | "lint": "tslint -p tsconfig.json", |
10 | 10 | "prepare": "npm run build", |
11 | | - "prepublishOnly": "npm test && npm run lint", |
12 | | - "preversion": "npm run lint", |
13 | | - "version": "npm run format && git add -A src", |
14 | | - "postversion": "git push && git push --tags", |
15 | 11 | "build": "npm run clean && tsc && npm run copy-files", |
16 | 12 | "clean": "rm -rf ./lib", |
17 | 13 | "copy-files": "cp -r ./src/zencode/ ./lib/zencode && cp -r ./src/props/ ./lib/props" |
|
28 | 24 | "license": "MIT", |
29 | 25 | "dependencies": { |
30 | 26 | "dotenv": "^8.2.0", |
31 | | - "zenroom": "^2.2.0-e4ecf22" |
| 27 | + "zenroom": "^2.2.0-49bb474" |
32 | 28 | }, |
33 | 29 | "devDependencies": { |
| 30 | + "@semantic-release/changelog": "^5.0.1", |
| 31 | + "@semantic-release/git": "^9.0.0", |
34 | 32 | "@types/jest": "^26.0.22", |
35 | 33 | "jest": "^26.6.3", |
36 | 34 | "prettier": "^2.2.1", |
|
41 | 39 | }, |
42 | 40 | "files": [ |
43 | 41 | "lib/**/*" |
44 | | - ] |
| 42 | + ], |
| 43 | + "plugins": [ |
| 44 | + "@semantic-release/commit-analyzer", |
| 45 | + "@semantic-release/release-notes-generator", |
| 46 | + "@semantic-release/changelog", |
| 47 | + "@semantic-release/github", |
| 48 | + "@semantic-release/npm", |
| 49 | + "@semantic-release/git" |
| 50 | + ], |
| 51 | + "release": { |
| 52 | + "branches": ["main"], |
| 53 | + "prepare": [ |
| 54 | + "@semantic-release/changelog", |
| 55 | + "@semantic-release/npm", |
| 56 | + { |
| 57 | + "path": "@semantic-release/git", |
| 58 | + "assets": [ |
| 59 | + "package.json", |
| 60 | + "yarn.lock", |
| 61 | + "CHANGELOG.md" |
| 62 | + ], |
| 63 | + "message": "chore(release): 🚀 ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
| 64 | + } |
| 65 | + ] |
| 66 | + }, |
| 67 | + "publishConfig": { |
| 68 | + "access": "public" |
| 69 | + } |
45 | 70 | } |
0 commit comments