-
-
Notifications
You must be signed in to change notification settings - Fork 130
/
package.json
80 lines (80 loc) · 2.25 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-php",
"version": "0.22.2",
"description": "Prettier PHP Plugin",
"repository": "prettier/prettier-php",
"author": "Lucas Azzola <@azz>",
"license": "MIT",
"unpkg": "./standalone.js",
"browser": "./standalone.js",
"exports": {
".": {
"browser": "./standalone.js",
"default": "./src/index.mjs"
},
"./standalone": "./standalone.js",
"./package.json": "./package.json"
},
"files": [
"src",
"standalone.js"
],
"dependencies": {
"linguist-languages": "^7.27.0",
"php-parser": "^3.1.5"
},
"devDependencies": {
"@babel/preset-env": "^7.23.6",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.3",
"c8": "^9.1.0",
"cross-env": "^7.0.2",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "27.6.3",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-prettier-doc": "^1.1.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-light-runner": "^0.6.0",
"jest-snapshot-serializer-raw": "^2.0.0",
"prettier": "^3.0.1",
"rollup": "^3.28.1",
"strip-ansi": "^7.1.0"
},
"peerDependencies": {
"prettier": "^3.0.0"
},
"scripts": {
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint:eslint": "eslint .",
"lint:prettier": "prettier . --check",
"fix": "yarn fix:eslint && yarn fix:prettier",
"fix:eslint": "eslint . --fix",
"fix:prettier": "prettier . --write",
"test": "yarn test:node && yarn test:standalone",
"test:node": "jest",
"test:standalone": "yarn run build && cross-env RUN_STANDALONE_TESTS=true yarn jest",
"prepublishOnly": "yarn test",
"prettier": "prettier --plugin=src/index.mjs --parser=php",
"build": "rollup --config build/rollup.config.mjs",
"debug": "node --inspect-brk node_modules/.bin/jest --runInBand"
},
"c8": {
"reporter": [
"lcov",
"text"
],
"all": true,
"include": [
"src/**"
]
}
}