-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
122 lines (122 loc) · 3.48 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@fransvilhelm/wp-bundler",
"version": "4.0.3",
"description": "A fast bundler tailored for WordPress based on esbuild",
"type": "module",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"bin": {
"wp-bundler": "./cli.js"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/adambrgmn/wp-bundler.git"
},
"author": {
"name": "Adam Bergman",
"email": "[email protected]"
},
"homepage": "https://github.com/adambrgmn/wp-bundler#readme",
"bugs": {
"url": "https://github.com/adambrgmn/wp-bundler/issues"
},
"license": "MIT",
"files": [
"dist",
"assets",
"cli.js"
],
"keywords": [
"wordpress",
"esbuild",
"bundler"
],
"engines": {
"node": ">=18"
},
"scripts": {
"prebuild": "rm -rf dist",
"build": "tsc -p ./tsconfig.build.json && npm run build:dev-client",
"build:dev-client": "esbuild --bundle ./src/dev-client.ts --outfile=dist/dev-client.js --sourcemap=inline --format=esm",
"predev": "rm -rf dist",
"dev": "tsc -p ./tsconfig.build.json --watch",
"dev:dev-client": "npm run build:dev-client -- --watch",
"lint": "eslint",
"format": "prettier --write .",
"test": "vitest --ui --coverage",
"test:coverage": "vitest run --coverage",
"type-check": "tsc --noEmit",
"release": "npm run build && npx publint run && changeset publish",
"examples:start": "cd examples && npx -p @wordpress/env wp-env start",
"examples:destroy": "cd examples && npx -p @wordpress/env wp-env destroy",
"examples:stop": "cd examples && npx -p @wordpress/env wp-env stop",
"examples:build": "npm run --prefix ./examples/wp-bundler-theme build && npm run --prefix ./examples/wp-bundler-plugin build"
},
"dependencies": {
"@swc/core": "^1.5.7",
"@wordpress/icons": "^9.49.0",
"chalk": "^5.3.0",
"dotenv": "^16.4.5",
"esbuild": "^0.21.3",
"filesize": "^10.1.2",
"gettext-parser": "^8.0.0",
"globby": "^14.0.1",
"lodash.mergewith": "^4.6.2",
"md5": "^2.3.0",
"php-parser": "^3.1.5",
"postcss": "^8.4.38",
"postcss-preset-env": "^9.5.14",
"strman": "^2.0.1",
"twing": "^6.1.0",
"type-fest": "^4.18.2",
"yargs": "^17.7.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@changesets/cli": "^2.27.3",
"@eslint/js": "^9.3.0",
"@fransvilhelm/changeset-changelog": "^1.1.1",
"@prettier/plugin-php": "^0.22.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/node18": "^18.2.4",
"@tsconfig/strictest": "^2.0.5",
"@types/gettext-parser": "^4.0.4",
"@types/lodash.merge": "^4.6.9",
"@types/lodash.mergewith": "^4.6.9",
"@types/md5": "^2.3.5",
"@types/node": "^20.12.12",
"@types/strman": "^2.0.3",
"@types/yargs": "^17.0.32",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"eslint": "^9.3.0",
"globals": "^15.3.0",
"lodash.merge": "^4.6.2",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"typescript-eslint": "^7.10.0",
"vitest": "^1.6.0"
},
"peerDependencies": {
"typescript": ">4.7.0"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"proseWrap": "never",
"printWidth": 120,
"importOrder": [
"^node:(.*)$",
"<THIRD_PARTY_MODULES>",
"^[./]"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
]
},
"packageManager": "[email protected]"
}