-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
85 lines (85 loc) · 3.05 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
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "speech-rule-engine",
"version": "4.1.0-beta.11",
"description": "A standalone speech rule engine for XML structures, based on the original engine from ChromeVox.",
"directories": {
"test": "tests"
},
"bin": {
"sre": "bin/sre"
},
"scripts": {
"format": "prettier --check ts/",
"format-fix": "prettier --write ts/",
"lint": "eslint ts/ --ext .ts,.tsx",
"lint-fix": "eslint ts/ --ext .ts,.tsx --fix",
"test": "cd sre-tests; export SRE_JSON_PATH=../lib/mathmaps; npm run test",
"docs": "pnpm typedoc --entryPointStrategy ts/",
"commonjs": "pnpm tsc --module commonjs --outDir cjs --moduleResolution node",
"postcommonjs": "node -e 'require(\"fs\").writeFileSync(\"cjs/package.json\", \"{\\n \\\"type\\\": \\\"commonjs\\\"\\n}\\n\");'",
"module": "pnpm tsc --module nodenext --outDir js --moduleResolution nodenext",
"postmodule": "node -e 'require(\"fs\").writeFileSync(\"js/package.json\", \"{\\n \\\"type\\\": \\\"module\\\"\\n}\\n\");'",
"require": "node -e \"require(\\\"fs\\\").writeFileSync(\\\"lib/require.mjs\\\", \\\"import {createRequire} from 'module';\\nglobal.require = createRequire(import.meta.url);\\n\\\");\"",
"pretest": "git submodule update --remote --merge; pnpm compile; cd sre-tests; ln -s .. speech-rule-engine; npm install",
"compile": "pnpm module",
"clean": "rimraf js lib cjs",
"actionTest": "cd sre-tests; export SRE_JSON_PATH=../lib/mathmaps; pnpm jest --silent ",
"cleanAll": "make clean; make clean_min",
"prepublish": "pnpm cleanAll; pnpm buildAll",
"build": "make -j 12 all; pnpm module; pnpm webpack; pnpm require",
"buildAll": "make -j 12 all; pnpm commonjs; pnpm module; pnpm webpack; pnpm require; pnpm postcommonjs; pnpm postmodule"
},
"maintainers": [
"Volker Sorge <[email protected]> (http://www.cs.bham.ac.uk/~vxs)"
],
"bugs": {
"email": "[email protected]",
"url": "https://github.com/zorkow/speech-rule-engine/issues"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/zorkow/speech-rule-engine"
},
"keywords": [
"screen-reader",
"xml",
"a11y"
],
"homepage": "https://github.com/zorkow/speech-rule-engine",
"dependencies": {
"@xmldom/xmldom": "0.9.0-beta.8",
"commander": "12.0.0",
"wicked-good-xpath": "1.3.0"
},
"devDependencies": {
"@types/node": "^20.12.8",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"circular-dependency-plugin": "^5.2.2",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^48.2.3",
"json-minify": "1.0.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"terser-webpack-plugin": "5.3.10",
"ts-loader": "9.5.1",
"ts-prune": "^0.10.3",
"typedoc": "^0.25.13",
"typescript": "5.4.5",
"webpack": "5.94.0",
"webpack-cli": "^5.1.4"
},
"files": [
"index.js",
"LICENSE",
"README.md",
"lib/",
"bin/",
"js/",
"cjs/"
],
"source": "ts/index.ts",
"main": "lib/sre.js"
}