-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.37 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.37 KB
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
{
"name": "maml",
"version": "1.0.0",
"description": "MAML parser",
"type": "module",
"main": "build/index.cjs",
"types": "build/index.d.ts",
"exports": {
".": {
"types": "./build/index.d.ts",
"import": "./build/index.js",
"require": "./build/index.cjs"
}
},
"files": [
"build/*.js",
"build/*.cjs",
"build/*.d.ts"
],
"engines": {
"node": ">=12"
},
"scripts": {
"fmt": "prettier --write src",
"fmt:check": "prettier --check src",
"build": "concurrently 'npm:build:*'",
"build:tsc": "tsc --emitDeclarationOnly",
"build:esm": "esbuild src/index.ts --format=esm --sourcemap --bundle --outfile=build/index.js --platform=neutral --target=node12 --minify-syntax",
"build:cjs": "esbuild src/index.ts --format=cjs --sourcemap --bundle --outfile=build/index.cjs --platform=neutral --target=node12 --minify-syntax",
"build:min": "esbuild src/maml.ts --bundle --outfile=build/maml.min.js --platform=neutral --target=node12 --minify-whitespace --minify-identifiers --minify-syntax",
"test": "npm run build && vitest",
"test:unit": "vitest run",
"test:bench": "vitest bench test/maml.bench.js",
"test:workflow": "zizmor .github/workflows -v -p --min-severity=medium",
"test:size": "size-limit",
"smoke:cjs": "node smoke/maml.smoke.cjs",
"smoke:esm": "node smoke/maml.smoke.mjs",
"coverage": "npm run build && vitest run --coverage"
},
"devDependencies": {
"@iarna/toml": "^2.2.5",
"@size-limit/file": "^11.2.0",
"@types/ini": "^4.1.1",
"@types/js-yaml": "^4.0.9",
"@types/node": "^24.6.2",
"@vitest/coverage-v8": "^3.2.4",
"concurrently": "^9.2.1",
"esbuild": "^0.25.10",
"ini": "^5.0.0",
"js-yaml": "^4.1.0",
"prettier": "^3.6.2",
"size-limit": "^11.2.0",
"tinybench": "^5.0.1",
"toml": "^3.0.0",
"typescript": "^5.9.3",
"vitest": "^3.2.4",
"yaml": "^2.8.1",
"yaml-js": "^0.3.1"
},
"prettier": {
"semi": false,
"singleQuote": true,
"endOfLine": "lf"
},
"keywords": [
"maml",
"parser"
],
"homepage": "https://maml.dev",
"bugs": {
"url": "https://github.com/maml-dev/maml.js/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/maml-dev/maml.js.git"
},
"publishConfig": {
"access": "public"
},
"license": "MIT",
"author": "Anton Medvedev <anton@medv.io>"
}