-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.88 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "txjson",
"version": "1.3.0",
"description": "An extension of JSON5 with rich inline type information.",
"author": {
"name": "Abdullah Ali",
"url": "https://github.com/voodooattack",
"email": "voodooattack@hotmail.com"
},
"repository": {
"url": "https://github.com/voodooattack/txjson",
"type": "github"
},
"type": "commonjs",
"license": "MIT",
"tags": [
"JSON",
"JSON5",
"TypeScript",
"Type System",
"Parser",
"Language",
"Text",
"Data Interchange",
"Data Serialization"
],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/dts/index.d.ts",
"exports": {
".": {
"types": "./dist/dts/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./*": {
"types": "./dist/dts/*.d.ts",
"import": "./dist/esm/*.js",
"require": "./dist/cjs/*.js"
}
},
"files": [
"./dist",
"LICENSE",
"README.md"
],
"scripts": {
"prepare": "nr build",
"build": "nr build:parser && nr build:ts",
"build:parser": "antlr4ng -Dlanguage=TypeScript -Xexact-output-dir -o ./src/parser ./src/grammar/TxJSON.g4 ./src/grammar/Lexer.g4",
"watch:parser": "nr onchange src/grammar/*.g4 -- npm run build:parser",
"build:ts": "nr build:ts:cjs && nr build:ts:esm && nr build:ts:dts",
"build:ts:cjs": "tsc -p tsconfig.cjs.json",
"build:ts:esm": "tsc -p tsconfig.esm.json",
"build:ts:dts": "tsc -p tsconfig.dts.json",
"clean": "rimraf dist src/parser",
"dev": "concurrently \"tsc -w --preserveWatchOutput\" \"nr watch:parser\"",
"coverage": "nyc --reporter lcov ts-mocha -p tsconfig.tests.json ./tests/**/*.spec.ts",
"test": "ts-mocha -p tsconfig.tests.json ./tests/**/*.spec.ts",
"lint": "eslint src tests",
"lint-fix": "eslint src tests --fix",
"prepublishOnly": "nr build && nr test"
},
"dependencies": {
"antlr4ng": "^3.0.4",
"unescape-js": "^1.1.4"
},
"devDependencies": {
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.6",
"@types/node": "22.5.5",
"@types/unescape-js": "^1.0.2",
"antlr4ng-cli": "^2.0.0",
"chai": "4.5.0",
"chai-bytes": "^0.1.2",
"commitlint": "^19.5.0",
"concurrently": "9.0.1",
"cross-env": "^7.0.3",
"eslint": "^9.4.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^12.1.0",
"mocha": "^10.4.0",
"nyc": "^15.1.0",
"onchange": "^7.1.0",
"prettier": "^3.3.1",
"source-map-support": "^0.5.21",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.2",
"ts-node-esm": "^0.0.6",
"typescript": "^5.4.5",
"typescript-eslint": "7.18.0",
"urpm": "^0.0.5"
},
"packageManager": "yarn@3.5.0"
}