Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.98 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 1.98 KB
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
{
"name": "@espcom/esbuild-plugin-replace",
"author": "espcom",
"license": "MIT",
"version": "1.3.2",
"description": "",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/esbuild-plugins-community/esbuild-plugin-replace.git"
},
"keywords": [
"esbuild",
"esbuild-plugin",
"plugin"
],
"scripts": {
"prepare": "husky",
"prepublishOnly": "pnpm run analyze:js&&pnpm run check-types&&pnpm run test",
"analyze:js": "eslint ./src",
"format:js": "eslint --fix",
"check-types": "tsc --noEmit",
"build": "rm -rf ./dist&&tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json&&node --import tsx ./scripts/genPackageFiles.ts&&pnpm run gen-size-badge",
"build-watch": "rm -rf ./dist&&tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json --watch&&node --import tsx ./scripts/genPackageFiles.ts",
"test": "pnpm run build&&node --test --test-reporter=spec ./test/import*.*js&&c8 node --import tsx --test --test-reporter=spec ./test/*.test.*&&pnpm run gen-coverage-badge",
"test-watch": "pnpm run build&&node --import tsx --test --test-reporter=spec --watch ./test/*.test.*",
"gen-coverage-badge": "node --import tsx ./scripts/genCoverageBadge.ts",
"gen-size-badge": "node --import tsx ./scripts/genSizeBadges.ts"
},
"devDependencies": {
"@types/node": "22.14.1",
"@espcom/eslint-config": "0.0.8",
"tsx": "4.19.3",
"c8": "10.1.3",
"esbuild": "0.25.2",
"lint-staged": "15.2.9",
"typescript": "5.8.3",
"husky": "9.1.7",
"badge-maker": "4.1.0",
"xml-splitter": "1.2.1",
"@lukeed/uuid": "2.0.1",
"mobx-react-lite": "4.1.0"
},
"peerDependencies": {
"esbuild": ">=0.23"
},
"engines": {
"node": ">=18"
},
"exports": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"main": "dist/cjs/index.js",
"types": "dist/types/index.d.ts",
"packageManager": "pnpm@8.6.3"
}