-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 986 Bytes
/
Copy pathpackage.json
File metadata and controls
39 lines (39 loc) · 986 Bytes
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
{
"name": "unity-richtext",
"version": "1.0.2",
"description": "Unity富文本标签解析器,支持转换为DOM或HTML字符串",
"author": "",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"test": "jest",
"test:watch": "jest --watch",
"generate-grammar": "cd src/grammar && antlr4 -v 4.13.2 -visitor -Dlanguage=TypeScript UnityRichTextLexer.g4 UnityRichTextParser.g4",
"prebuild": "npm run generate-grammar"
},
"dependencies": {
"antlr4": "^4.13.2",
"lodash.template": "^4.5.0"
},
"devDependencies": {
"@types/jest": "^29.5.8",
"@types/jsdom": "^21.1.6",
"@types/lodash.template": "^4.5.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.2.0",
"jsdom": "^23.0.1",
"ts-jest": "^29.2.5",
"typescript": "^5.3.3"
},
"keywords": [
"unity",
"richtext",
"parser",
"html",
"dom",
"antlr4"
]
}