-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.84 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
{
"name": "prettier-plugin-lava",
"version": "0.9.1",
"description": "Prettier Lava/HTML plugin",
"repository": "garrettjohnson/prettier-plugin-lava",
"author": "Garrett Johnson",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bugs": {
"url": "https://github.com/garrettjohnson/prettier-plugin-lava/issues"
},
"files": [
"grammar/*",
"dist/**/*.js",
"dist/**/*.ts",
"standalone.js",
"standalone.d.ts",
"standalone.js.LICENSE.txt",
"ThirdPartyNotices.txt"
],
"scripts": {
"build": "yarn build:shims && yarn build:ts && yarn build:standalone",
"build:shims": "node build/shims.js",
"build:standalone": "webpack -c webpack.config.js",
"build:local": "yarn build && yarn copyto:playground",
"copyto:playground": "@powershell copy './standalone.js' './playground/assets/standalone.js'",
"build:ts": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"coverage": "nyc yarn test",
"coverage:json": "nyc --reporter=json yarn test",
"coverage:lcov": "nyc --reporter=lcov yarn test",
"debug": "node --inspect-brk node_modules/.bin/_mocha \"{src,test}/**/*.ts\"",
"format": "scripts/relative-to-alias && prettier --write --ignore-unknown \"{src,test}/**/*.ts\"",
"format:check": "prettier --check --ignore-unknown \"{src,test}/**/*.ts\"",
"playground": "npx http-server playground",
"prepare": "husky install",
"prerelease": "scripts/prerelease",
"prettier": "scripts/prettier",
"prettier2": "cross-env PRETTIER_MAJOR=2 scripts/prettier",
"prettier3": "cross-env PRETTIER_MAJOR=3 scripts/prettier",
"test": "node_modules/.bin/mocha '{src,test}/**/*.spec.ts'",
"test:3": "cross-env PRETTIER_MAJOR=3 yarn test",
"test:idempotence": "cross-env TEST_IDEMPOTENCE=true node_modules/.bin/mocha 'test/**/*.spec.ts'",
"test:idempotence:3": "cross-env PRETTIER_MAJOR=3 yarn test:idempotence",
"type-check": "tsc --noEmit"
},
"peerDependencies": {
"prettier": "^2.0.0 || ^3.0.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@tsconfig/node14": "^1.0.1",
"@types/chai": "^4.2.22",
"@types/line-column": "^1.0.0",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.11",
"@types/prettier": "^2.4.2",
"chai": "^4.3.4",
"cross-env": "^7.0.3",
"husky": "^7.0.0",
"mocha": "^9.1.3",
"module-alias": "^2.2.3",
"nyc": "^15.1.0",
"prettier2": "npm:prettier@^2.6.1",
"prettier3": "npm:prettier@^3.0.0",
"pretty-quick": "^3.1.3",
"source-map-support": "^0.5.21",
"ts-node": "^10.4.0",
"tsc-alias": "^1.6.7",
"tsconfig-paths": "^3.14.1",
"typescript": "^4.5.2",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"html-styles": "^1.0.0",
"line-column": "^1.0.2",
"ohm-js": "^16.3.0"
}
}