-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
81 lines (81 loc) · 2.19 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
{
"name": "vite-plugin-environment",
"version": "1.1.3",
"description": "Easily expose environment variables in Vite.js",
"keywords": [
"env",
"environment",
"variables",
"vite",
"vite-plugin",
"vitejs"
],
"sideEffects": false,
"files": [
"dist"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"lint": "eslint .",
"test": "vitest",
"dev": "npm run build -- --watch",
"build": "tsup src/index.ts --dts --format cjs,esm --clean",
"release": "node scripts/release.cjs",
"postinstall": "husky install",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"prepublishOnly": "pinst --disable && npm run build",
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags && pinst --enable"
},
"repository": {
"type": "git",
"url": "https://github.com/ElMassimo/vite-plugin-environment"
},
"homepage": "https://github.com/ElMassimo/vite-plugin-environment",
"bugs": "https://github.com/ElMassimo/vite-plugin-environment/issues",
"author": "Máximo Mussini <maximomussini@gmail.com>",
"license": "MIT",
"devDependencies": {
"@mussi/eslint-config": "^0.5.1",
"@types/node": "^18",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"conventional-changelog-cli": "^2.2.2",
"cross-spawn": "^7.0.3",
"enquirer": "^2.3.6",
"eslint": "^7.32.0",
"fast-glob": "^3.2.11",
"husky": "^5.2.0",
"lint-staged": "^10.5.4",
"minimist": "^1.2.6",
"picocolors": "^1.0.0",
"pinst": "^2.1.6",
"rollup": "^2.70.1",
"semver": "^7.3.5",
"tsup": "^8",
"typescript": "^4.6.3",
"vite": "^5.0.5",
"vitest": "^1.0.2"
},
"peerDependencies": {
"vite": ">= 5.0"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
]
},
"eslintConfig": {
"extends": [
"@mussi/eslint-config"
]
}
}