-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
55 lines (55 loc) · 1.52 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
{
"name": "@open-rpc/specification-extension-spec",
"version": "0.0.0-development",
"description": "OpenRPC Specification Extension Schema",
"type": "module",
"private": false,
"publishConfig": {
"access": "public"
},
"main": "./dist/cjs/src/index.cjs",
"module": "./dist/mjs/src/index.mjs",
"types": "./dist/mjs/src/index.d.mts",
"exports": {
".": {
"types": "./dist/mjs/src/index.d.mts",
"import": "./dist/mjs/src/index.mjs",
"require": "./dist/cjs/src/index.cjs"
}
},
"files": [
"dist",
"src"
],
"scripts": {
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run rename:cjs",
"build:esm": "tsc --project tsconfig.mjs.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"clean": "rimraf dist",
"rename:cjs": "find dist/cjs -name \"*.js\" -exec sh -c 'mv \"$1\" \"${1%.js}.cjs\"' _ {} \\;"
},
"devDependencies": {
"@json-schema-tools/dereferencer": "^1.6.3",
"@json-schema-tools/transpiler": "^1.10.5",
"@types/node": "^20.0.0",
"rimraf": "^5.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/open-rpc/specification-extension-spec.git"
},
"keywords": [
"OpenRPC"
],
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/open-rpc/specification-extension-spec/issues"
},
"engines": {
"node": ">=18.0.0"
},
"homepage": "https://github.com/open-rpc/specification-extension-spec#readme"
}