forked from janl/mustache.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 1.96 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
{
"name": "@ppodds/mustache",
"version": "5.0.0",
"description": "Logic-less {{mustache}} templates with JavaScript",
"author": "ppodds <http://github.com/ppodds/mustache.js>",
"homepage": "http://github.com/ppodds/mustache.js",
"type": "module",
"repository": {
"type": "git",
"url": "http://github.com/ppodds/mustache.js"
},
"keywords": [
"mustache",
"template",
"templates",
"ejs",
"typescript"
],
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"bin"
],
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"scripts": {
"prepare": "husky install",
"build": "unbuild",
"lint": "eslint --fix {src,tests}/**/*.{js,cjs,mjs,ts}",
"format": "prettier -w {src,tests}/**/*.{js,cjs,mjs,ts,json,yaml}",
"test": "jest --maxWorkers=50%",
"test:ci": "jest --runInBand",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3",
"unbuild": "^2.0.0"
},
"license": "MIT",
"jest": {
"extensionsToTreatAsEsm": [
".ts"
],
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"testMatch": [
"**/tests/**/*.spec.ts"
],
"transform": {
"^.+\\.(t|j)s$": [
"ts-jest"
]
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"testEnvironment": "node"
},
"lint-staged": {
"{src,tests}/**/*.{js,cjs,mjs,ts,json,yaml}": [
"prettier -w"
],
"{src,tests}/**/*.{js,cjs,mjs,ts}": [
"eslint --fix"
]
}
}