-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
66 lines (66 loc) 路 2.16 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
{
"type": "module",
"name": "@syuilo/aiscript",
"version": "0.19.0",
"description": "AiScript implementation",
"author": "syuilo <syuilotan@yahoo.co.jp>",
"license": "MIT",
"repository": "https://github.com/syuilo/aiscript.git",
"bugs": "https://github.com/syuilo/aiscript/issues",
"exports": {
".": {
"import": "./built/esm/index.js",
"types": "./built/dts/index.d.ts"
},
"./*": {
"import": "./built/esm/*",
"types": "./built/dts/*"
}
},
"scripts": {
"start": "node ./run",
"parse": "node ./parse",
"peg": "peggy --format es --cache -o src/parser/parser.js --allowed-start-rules Preprocess,Main src/parser/parser.peggy && npm run peg-copy",
"peg-debug": "peggy --trace --format es --cache -o src/parser/parser.js --allowed-start-rules Preprocess,Main src/parser/parser.peggy && npm run peg-copy",
"peg-copy": "copyfiles -f src/parser/parser.js built/parser/",
"ts": "npm run ts-esm && npm run ts-dts",
"ts-esm": "tsc --outDir built/esm",
"ts-dts": "tsc --outDir built/dts --declaration true --emitDeclarationOnly true --declarationMap true",
"build": "node scripts/gen-pkg-ts.mjs && npm run peg && npm run ts",
"build-debug": "npm run peg-debug && tsc",
"api": "npx api-extractor run --local --verbose",
"api-prod": "npx api-extractor run --verbose",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"jest": "jest --coverage --detectOpenHandles",
"tsd": "tsd",
"test": "npm run jest",
"pre-release": "node scripts/pre-release.mjs && npm run build",
"prepublishOnly": "node scripts/check-release.mjs"
},
"devDependencies": {
"@microsoft/api-extractor": "7.42.3",
"@types/jest": "29.5.12",
"@types/node": "20.11.24",
"@types/seedrandom": "3.0.8",
"@types/uuid": "9.0.8",
"@typescript-eslint/eslint-plugin": "7.1.1",
"@typescript-eslint/parser": "7.1.1",
"chalk": "5.3.0",
"copyfiles": "2.4.1",
"eslint": "8.57.0",
"eslint-plugin-import": "2.29.1",
"jest": "29.7.0",
"peggy": "4.0.2",
"semver": "7.6.2",
"ts-jest": "29.1.2",
"ts-jest-resolver": "2.0.1",
"ts-node": "10.9.2",
"tsd": "0.30.7",
"typescript": "5.3.3"
},
"dependencies": {
"seedrandom": "3.0.5",
"stringz": "2.1.0",
"uuid": "9.0.1"
}
}