forked from streetsidesoftware/cspell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 1.97 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
{
"name": "@cspell/cspell-types",
"publishConfig": {
"access": "public"
},
"version": "6.6.1",
"description": "Types for cspell and cspell-lib",
"type": "commonjs",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/*"
],
"dist/index.d.ts": [
"dist/index.d.ts"
],
"index.d.ts": [
"dist/index.d.ts"
]
}
},
"exports": {
".": "./dist/index.js",
"./Parser": "./dist/Parser.js",
"./Parser.js": "./dist/Parser.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": "pnpm run compile && pnpm 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 ../..",
"clean-build": "pnpm run clean && pnpm run build",
"compile": "tsc -p .",
"test-schema": "ajv -s ./cspell.schema.json -d \"cspell.test.{json,yaml}\" -c ./ajv.config.js",
"test": "jest && pnpm run test-schema",
"prepare": "echo Skip Building Types"
},
"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": ">=14"
},
"devDependencies": {
"ajv-cli": "^5.0.0",
"jest": "^28.1.3",
"rimraf": "^3.0.2",
"ts-json-schema-generator": "^1.0.0",
"typescript": "^4.7.4"
}
}