-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
91 lines (91 loc) · 2.69 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
88
89
90
91
{
"name": "@marko/vite",
"description": "A Marko plugin for Vite",
"version": "4.1.20",
"author": "Dylan Piercey <[email protected]>",
"bugs": "https://github.com/marko-js/vite/issues",
"dependencies": {
"@chialab/cjs-to-esm": "^0.18.0",
"anymatch": "^3.1.3",
"domelementtype": "^2.3.0",
"domhandler": "^5.0.3",
"fast-glob": "^3.3.2",
"htmlparser2": "^9.1.0",
"resolve": "^1.22.8",
"resolve.exports": "^2.0.2"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.5",
"@marko/compiler": "^5.37.0",
"@marko/fixture-snapshots": "^2.2.1",
"@marko/testing-library": "^6.2.0",
"@types/babel__core": "^7.20.5",
"@types/jsdom": "^21.1.6",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.12",
"@types/resolve": "^1.20.6",
"@types/serve-handler": "^6.1.4",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"cross-env": "^7.0.3",
"esbuild": "^0.21.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"fixpack": "^4.0.0",
"husky": "^9.0.11",
"jsdom": "^24.1.0",
"less": "^4.2.0",
"lint-staged": "^15.2.5",
"marko": "^5.35.0",
"mocha": "^10.4.0",
"mocha-snap": "^5.0.0",
"nyc": "^15.1.0",
"playwright": "^1.44.1",
"prettier": "^3.2.5",
"serve-handler": "^6.1.5",
"tsx": "^4.11.0",
"typescript": "^5.4.5",
"vite": "^5.2.12"
},
"files": [
"dist",
"!**/__tests__",
"!**/*.tsbuildinfo"
],
"homepage": "https://github.com/marko-js/vite",
"keywords": [
"loader",
"marko",
"plugin",
"transform",
"vite"
],
"license": "MIT",
"main": "./dist/index.mjs",
"peerDependencies": {
"@marko/compiler": "^5",
"vite": "4 - 5"
},
"repository": {
"type": "git",
"url": "https://github.com/marko-js/vite"
},
"scripts": {
"build": "tsc -b && tsx build.mts",
"change": "changeset add",
"ci:test": "nyc npm test -- --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}\"",
"prepare": "husky install",
"release": "npm run build && changeset publish",
"report": "open ./coverage/lcov-report/index.html",
"test": "cross-env NODE_ENV=test mocha \"./src/**/__tests__/*.test.ts\"",
"test:inspect": "npm test -- --inspect",
"test:update": "npm test -- --update",
"version": "changeset version && npm i --package-lock-only"
},
"types": "dist/index.d.ts"
}