-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
58 lines (58 loc) · 1.82 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
{
"name": "@open-rpc/generator",
"private": false,
"version": "1.0.34",
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/open-rpc/generator.git"
},
"main": "./build/index.js",
"bin": {
"open-rpc-generator": "build/cli.js"
},
"files": [
"build/**/*",
"templates/**/*",
".node-version"
],
"scripts": {
"start": "npm run build && ./build/cli.js",
"test": "npm run test:lint && npm run test:unit && npm run test:integration",
"test:unit": "jest --coverage",
"test:integration": "npm run build && ./build/cli.js generate -c test-generator-config.json && ((cd ./generated/server/typescript/ && npm install && npm start) & (cd ./generated/client/typescript && npm install && npm run build && cd - && sleep 15 && node ./integration-test.js))",
"test:lint": "eslint . --ext .ts --fix",
"build": "npm run build:clean && tsc && chmod +x build/cli.js",
"build:clean": "rm -rf build",
"watch:build": "tsc --watch",
"watch:test": "jest --watch"
},
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@iarna/toml": "^2.2.5",
"@open-rpc/typings": "^1.12.4",
"commander": "^7.2.0",
"fs-extra": "^11.2.0",
"inquirer": "^8.2.6",
"lodash": "^4.17.21"
},
"devDependencies": {
"@open-rpc/examples": "^1.7.2",
"@open-rpc/meta-schema": "^1.14.9",
"@open-rpc/schema-utils-js": "^2.0.2",
"@open-rpc/server-js": "^1.9.5",
"@types/connect": "^3.4.38",
"@types/cors": "^2.8.17",
"@types/fs-extra": "^9.0.7",
"@types/inquirer": "^9.0.3",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.17.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"typescript": "^4.9.5"
}
}