-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
65 lines (65 loc) · 2.03 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
{
"name": "terrario",
"version": "0.11.0",
"description": "A refined, expressive parser combinator library.",
"license": "MIT",
"author": "marihachi <[email protected]> (https://marihachi.github.io/)",
"type": "module",
"module": "./dist/esm/index.js",
"main": "./dist/cjs/index.js",
"types": "./dist/esm/terrario.d.mts",
"contributors": [
"ThinaticSystem <[email protected]> (https://thinaticsystem.com/)"
],
"keywords": [
"parser",
"parser-combinators",
"parsing",
"javascript",
"typescript",
"esm"
],
"repository": {
"type": "git",
"url": "git+https://github.com/marihachi/terrario.git"
},
"scripts": {
"build": "npm run clean && mkdir ./dist && npm run build:esm && npm run build:cjs && npm run build:copy-js",
"build:esm": "tsc -p tsconfig.esm.json && cp -r ./template/esm/ ./dist/esm && npm run build:esm:types",
"build:esm:types": "api-extractor run --local --verbose -c ./api-extractor.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json && cp -r ./template/cjs/ ./dist/cjs && npm run build:cjs:types",
"build:cjs:types": "api-extractor run --local --verbose -c ./api-extractor.cjs.json",
"build:copy-js": "cd ./build && copy ./**/*.js ../dist",
"clean": "rm -rf ./build && rm -rf ./dist",
"test": "jest --verbose",
"typedoc": "typedoc --plugin typedoc-plugin-markdown --out temp/docs src/index.ts",
"api-init": "api-extractor init"
},
"exports": {
".": {
"require": {
"types": "./dist/cjs/terrario.d.cts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/esm/terrario.d.mts",
"default": "./dist/esm/index.js"
}
}
},
"devDependencies": {
"@microsoft/api-extractor": "^7.36.3",
"@types/jest": "29.5.3",
"@types/node": "20.4.2",
"copy": "0.3.2",
"jest": "29.6.1",
"ts-jest": "29.1.1",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.3",
"typescript": "5.1.6"
},
"files": [
"dist/**/*",
"CHANGELOG.md"
]
}