-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpackage.json
81 lines (81 loc) · 2.43 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
{
"name": "htmljs-parser",
"description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values",
"version": "5.5.3",
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@types/degit": "^2.8.6",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.16",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"cross-env": "^7.0.3",
"degit": "^2.8.4",
"esbuild": "0.20.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"fast-glob": "^3.3.2",
"fixpack": "^4.0.0",
"husky": "^9.0.10",
"lint-staged": "^15.2.2",
"mitata": "^0.1.8",
"mocha": "^10.2.0",
"mocha-snap": "^5.0.0",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
},
"exports": {
".": {
"import": "./dist/index.mjs",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"!**/__tests__",
"!**/*.tsbuildinfo"
],
"homepage": "https://github.com/marko-js/htmljs-parser",
"keywords": [
"HTML",
"JavaScript",
"browser",
"compiler",
"expressions",
"nodejs",
"parser",
"server",
"template"
],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"repository": {
"type": "git",
"url": "https://github.com/marko-js/htmljs-parser.git"
},
"scripts": {
"bench": "tsx bench.mts",
"build": "tsc -b && tsx build.mts",
"change": "changeset add",
"ci:test": "nyc npm run mocha -- --forbid-only",
"format": "npm run lint:eslint -- --fix && npm run lint:prettier -- --write && (fixpack || true)",
"lint": "tsc -b && npm run lint:eslint && npm run lint:prettier -- -l && fixpack",
"lint:eslint": "eslint -f visualstudio .",
"lint:prettier": "prettier \"./**/*{.ts,.js,.json,.md,.yml,rc}\"",
"mocha": "cross-env NODE_ENV=test mocha \"./src/**/__tests__/*.test.ts\"",
"prepare": "husky",
"release": "npm run build && changeset publish",
"report": "open ./coverage/lcov-report/index.html",
"test": "npm run mocha -- --watch",
"test:inspect": "npm test -- --inspect",
"test:update": "npm run mocha -- --update",
"version": "changeset version && npm i --package-lock-only"
},
"types": "dist/index.d.ts"
}