-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
82 lines (82 loc) · 2.45 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
{
"name": "prettier-plugin-marko",
"description": "A prettier plugin for parsing and printing Marko files",
"version": "1.0.0",
"author": "Dylan Piercey <dpiercey@ebay.com>",
"bugs": "https://github.com/marko-js/prettier/issues",
"devDependencies": {
"@babel/generator": "^7.26.3",
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/babel__generator": "^7.6.8",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.2",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"esbuild": "^0.24.0",
"esbuild-register": "^3.6.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"fast-glob": "^3.3.2",
"fixpack": "^4.0.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"marko": "^5.36.3",
"mocha": "^10.7.3",
"mocha-snap": "^5.0.0",
"nyc": "^15.1.0",
"prettier": "^3.4.2",
"semantic-release": "^22.0.5",
"typescript": "^5.7.2"
},
"exports": {
".": {
"import": "./dist/index.mjs",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"!**/__tests__",
"!**/*.tsbuildinfo"
],
"homepage": "https://github.com/marko-js/prettier",
"keywords": [
"format",
"marko",
"prettier",
"prettyprint"
],
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"peerDependencies": {
"@marko/compiler": "^5",
"prettier": "^3"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/marko-js/prettier"
},
"scripts": {
"build": "tsc -b && node -r esbuild-register build",
"ci:test": "nyc npm run mocha -- --forbid-pending --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": "NODE_ENV=test mocha 'src/**/__tests__/*.test.ts'",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"release": "semantic-release",
"report": "open ./coverage/lcov-report/index.html",
"test": "npm run mocha -- --watch",
"test:inspect": "npm test -- --inspect",
"test:update": "npm run mocha -- --update"
},
"types": "dist/index.d.ts"
}