This repository has been archived by the owner on Mar 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 2.45 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
{
"name": "anyspec",
"version": "1.0.0",
"description": "Your best friend to deal with api spec",
"main": "index.js",
"scripts": {
"postinstall": "husky install",
"build": "tsc --project tsconfig.build.json --outDir ./src/cli/dist",
"test": "NODE_PATH=./src jest --maxWorkers=4",
"test:ci": "NODE_PATH=./src jest --silent --maxWorkers=4",
"test:watch": "NODE_PATH=./src jest --watch",
"debug:tests": "NODE_PATH=./src node --inspect-brk ./node_modules/.bin/jest",
"run:cli": "TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true NODE_PATH=./src node -r ts-node/register src/cli/bin.ts src/cli/examples/kek.models.tinyspec -o ./",
"clean": "rm -rf src/cli/dist",
"prepublish:cli": "cd src/cli && npm install && cd .. && npm run clean && npm run build",
"publish:cli": "npm publish ./src/cli",
"test:cli": "NODE_PATH=./src TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true ts-node src/cli/bin.ts lint src/cli/examples -ns agent client -c ./src/cli/anyspec.config",
"test:printer": "NODE_PATH=./src TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true ts-node src/cli/bin.ts print src/cli/examples",
"test:coverage": "NODE_PATH=./src jest --bail --collectCoverage",
"test:integration:anyspec:cli": "anyspec src/cli/examples/kek.models.tinyspec",
"test:tinyspec:build": "tinyspec --json --add-nulls -s temp/spec/ -o ../",
"lint": "eslint --max-warnings 0 'src/**/*.ts'",
"lint:fix": "eslint --fix 'src/**/*.ts'",
"docs:typedoc": "typedoc --entryPoints src/validation/rules --exclude \"**/*+(index|.spec|.e2e|.test).ts\" --exclude \"**/__tests__/*\" --highlightTheme github-light --out docs/rules",
"static-checks": "npm run build && npm run lint",
"check:spelling": "cspell --no-progress 'src/**/*'",
"type-check": "tsc --project tsconfig.build.json --noEmit --noUnusedLocals"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^14.14.35",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"cspell": "^5.7.2",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.1",
"jest": "^26.6.3",
"prettier": "^2.3.2",
"tinyspec": "^2.4.9",
"ts-jest": "^26.5.6",
"ts-node": "^10.0.0",
"typedoc": "^0.21.4",
"typescript": "^4.3.2"
},
"dependencies": {
"commander": "^7.2.0",
"globby": "^11.0.4",
"ora": "^5.4.1"
}
}