/
package.json
60 lines (60 loc) · 1.92 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
{
"name": "@cspell/cspell-types",
"publishConfig": {
"access": "public"
},
"version": "5.19.2",
"description": "Types for cspell and cspell-lib",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./cspell.schema.json": "./cspell.schema.json",
"./ajv.config": "./ajv.config.js",
"./ajv.config.js": "./ajv.config.js"
},
"scripts": {
"clean": "rimraf dist coverage .tsbuildinfo",
"build": "npm run compile && npm run build-schema",
"build-dev": "tsc -p tsconfig.dev.json",
"build-schema": "ts-json-schema-generator --no-top-ref --path src/CSpellSettingsDef.ts --type CSpellSettings --validation-keywords markdownDescription --validation-keywords scope --validation-keywords deprecated --validation-keywords deprecationMessage -o ./cspell.schema.json && cp ./cspell.schema.json ../..",
"build-docs": "rimraf ../../docs/types/cspell-types && typedoc --out ../../docs/types/cspell-types src/index.ts",
"test-build-docs": "typedoc --out ./temp/docs src/index.ts",
"clean-build": "npm run clean && npm run build",
"compile": "tsc -p .",
"test-schema": "ajv -s ./cspell.schema.json -d \"cspell.test.{json,yaml}\" -c ./ajv.config.js",
"test": "jest && npm run test-schema",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/streetsidesoftware/cspell.git"
},
"files": [
"dist",
"ajv.config.js",
"cspell.schema.json",
"!**/__mocks__",
"!**/*.test.*",
"!**/*.spec.*",
"!**/*.map"
],
"keywords": [
"cspell",
"types"
],
"author": "Jason Dent",
"license": "MIT",
"engines": {
"node": ">=12.13.0"
},
"devDependencies": {
"ajv-cli": "^5.0.0",
"jest": "^27.5.1",
"rimraf": "^3.0.2",
"ts-json-schema-generator": "^1.0.0",
"typedoc": "0.22.13",
"typedoc-plugin-markdown": "^3.11.14",
"typescript": "^4.6.2"
}
}