Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.76 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
{
"name": "nunjitsu",
"version": "0.7.0",
"description": "A secure direct string template engine written in TypeScript",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Rugvip/nunjitsu.git"
},
"type": "module",
"packageManager": "pnpm@11.3.0",
"sideEffects": false,
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": ">=22.0.0"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"browser": {
"types": "./dist/index.d.ts",
"default": "./dist/browser/index.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist/",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"benchmark": "node benchmarks/run.ts",
"benchmark:quick": "node benchmarks/run.ts --warmup=1 --iterations=3 --loops=1",
"build": "tsdown",
"build:fuzz": "node scripts/buildFuzzTargets.mjs",
"changeset": "changeset",
"fuzz": "pnpm run build:fuzz && node scripts/runFuzzTargets.mjs --seconds=300",
"fuzz:parser": "pnpm run build:fuzz && node scripts/runFuzzTargets.mjs parser --seconds=300",
"fuzz:render": "pnpm run build:fuzz && node scripts/runFuzzTargets.mjs render --seconds=300",
"prepack": "pnpm run build",
"release:check": "node scripts/release/verifyReleaseVersion.mjs",
"test": "pnpm run typecheck && pnpm run test:source && pnpm run test:benchmark && pnpm run test:package",
"test:benchmark": "node benchmarks/run.ts --warmup=0 --iterations=1 --loops=1 --silent",
"test:fuzz": "pnpm run build:fuzz && pnpm run test:fuzz:properties && pnpm run test:fuzz:targets",
"test:fuzz:properties": "node scripts/runFuzzProperties.mjs --profile=thorough",
"test:fuzz:targets": "node scripts/runFuzzTargets.mjs --seconds=15",
"test:fuzz:targets:smoke": "node scripts/runFuzzTargets.mjs --mode=regression",
"test:package": "pnpm run build && node --test tests/package/*.test.*",
"test:source": "node --test tests/source/*.test.ts",
"typecheck": "tsc -p tsconfig.json",
"version:packages": "changeset version"
},
"devDependencies": {
"@changesets/cli": "^2.31.1",
"@jazzer.js/core": "^4.0.0",
"@types/node": "^22.13.14",
"@types/nunjucks": "3.2.6",
"fast-check": "^4.8.0",
"nunjucks": "3.2.4",
"tsdown": "^0.22.4",
"typescript": "~7.0.2",
"typescript-legacy": "npm:typescript@~6.0.3"
},
"browser": "./dist/browser/index.js"
}