generated from ryansonshine/typescript-npm-package-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
136 lines (136 loc) · 3.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "@open-oracle-origami/origami-js-sdk",
"version": "0.0.0-alpha",
"private": false,
"description": "Open Oracle Origami Node JS SDK",
"keywords": [
"open",
"oracle",
"origami",
"sdk",
"curator",
"operator",
"web3",
"decentralized",
"blockchain"
],
"homepage": "https://github.com/open-oracle-origami/origami-js-sdk#readme",
"bugs": {
"url": "https://github.com/open-oracle-origami/origami-js-sdk/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/open-oracle-origami/origami-js-sdk.git"
},
"license": "MIT",
"author": "",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "npm run clean cjs && tsc -p config/tsconfig.cjs.json",
"build:esm": "npm run clean esm && tsc -p config/tsconfig.esm.json",
"build:types": "npm run clean types && tsc -p config/tsconfig.types.json",
"clean": "node tools/cleanup",
"cm": "cz",
"lint": "eslint jest.config.ts ./src/ ./test/ --fix",
"package": "npm run build && cp package.json dist/package.json && npm pack",
"prepare": "husky install",
"semantic-release": "semantic-release",
"test": "jest --coverage",
"test:watch": "jest --watch",
"typecheck": "tsc --noEmit"
},
"lint-staged": {
"*.ts": "eslint --cache --cache-location .eslintcache --fix"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"branches": [
"main", "alpha"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "build",
"section": "Dependencies and Other Build Updates",
"hidden": false
}
]
}
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
},
"dependencies": {
"pubsub-js": "^1.9.4"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/node": "^20.4.2",
"@types/pubsub-js": "^1.8.3",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"commitizen": "^4.3.0",
"conventional-changelog-conventionalcommits": "^6.1.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"jest": "^29.6.1",
"lint-staged": "^13.2.1",
"prettier": "^3.0.0",
"semantic-release": "^21.0.7",
"ts-jest": "^29.1.0",
"ts-node": "^10.2.1",
"typescript": "^5.0.4"
},
"engines": {
"node": ">=18.16.1"
}
}