-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 2.36 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
{
"name": "stringtemplate4ts",
"version": "1.0.7",
"description": "A TypeScript port of the Java StringTemplate 4 library",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/mike-lischke/stringtemplate4-ts"
},
"keywords": [
"string",
"template"
],
"author": "Mike Lischke",
"license": "MIT",
"scripts": {
"prepublishOnly": "npm run build-minified && npm run test",
"build": "npm run generate-parsers && tsc && npm run build-mjs && npm run build-cjs",
"build-minified": "npm run generate-parsers && tsc && npm run build-mjs-minified && npm run build-cjs-minified",
"build-bundle": "esbuild ./src/index.js --main-fields=module,main --bundle --sourcemap",
"build-mjs": "npm run build-bundle -- --outfile=dist/index.mjs --format=esm --platform=node",
"build-mjs-minified": "npm run build-mjs -- --minify",
"build-cjs": "npm run build-bundle -- --outfile=dist/index.cjs --format=cjs --platform=node",
"build-cjs-minified": "npm run build-cjs -- --minify",
"test": "node --experimental-vm-modules --no-warnings --loader ts-node/esm ./node_modules/jest/bin/jest.js --no-coverage --silent",
"test-ci": "npm run test -- --no-coverage --watchAll=false --silent",
"test-coverage": "npm run test -- --coverage --silent",
"generate-parsers": "antlr4ng -no-visitor -no-listener -Dlanguage=TypeScript -o src/compiler/generated -package parser -encoding utf8 -Xexact-output-dir src/compiler/*.g4"
},
"dependencies": {
"antlr4ng": "3.0.13",
"fast-printf": "1.6.9",
"he": "1.2.0",
"luxon": "3.5.0"
},
"devDependencies": {
"@types/he": "1.2.3",
"@types/jest": "29.5.14",
"@types/luxon": "3.4.2",
"@types/node": "20.10.4",
"@typescript-eslint/eslint-plugin": "6.14.0",
"@typescript-eslint/parser": "6.13.2",
"antlr4ng-cli": "^2.0.0",
"esbuild": "0.24.0",
"eslint": "8.55.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jsdoc": "46.9.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"jest": "29.7.0",
"ts-jest": "29.1.1",
"ts-node": "10.9.2",
"typescript": "5.5.3"
}
}