forked from aiscript-dev/aiscript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.99 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.99 KB
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
{
"type": "module",
"name": "@syuilo/aiscript",
"version": "0.16.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": "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"
},
"devDependencies": {
"@microsoft/api-extractor": "7.38.3",
"@types/jest": "29.5.8",
"@types/node": "20.9.0",
"@types/seedrandom": "3.0.8",
"@types/uuid": "9.0.7",
"@typescript-eslint/eslint-plugin": "6.11.0",
"@typescript-eslint/parser": "6.11.0",
"chalk": "5.3.0",
"copyfiles": "2.4.1",
"eslint": "8.53.0",
"eslint-plugin-import": "2.29.0",
"jest": "29.7.0",
"peggy": "3.0.2",
"ts-jest": "29.1.1",
"ts-jest-resolver": "2.0.1",
"ts-node": "10.9.1",
"tsd": "0.29.0",
"typescript": "5.2.2"
},
"dependencies": {
"seedrandom": "3.0.5",
"stringz": "2.1.0",
"uuid": "9.0.1"
}
}