-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.26 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
{
"name": "@initiumpot/package-template",
"version": "1.0.10",
"author": "Initium",
"description": "A template with Typescript & SWC & Auto-versioning & Packages to create an initium package",
"repository": "https://github.com/initiumpot/package-template",
"publishConfig": {
"@initiumpot:registry": "https://npm.pkg.github.com/"
},
"module": "dist/esm/index.es.js",
"main": "dist/cjs/index.js",
"types": "src/index.ts",
"files": [
"dist",
"src"
],
"scripts": {
"postinstall": "husky install",
"preinstall": "env-var npm config set '//npm.pkg.github.com/:_authToken' \"{{GITHUB_PACKAGES_TOKEN}}\"",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"build": "vite build",
"test": "vitest",
"watch": "vite build --watch",
"format": "prettier --config .prettierrc \"./**/*.{ts,jsx}\" --write",
"lint": "prettier --config .prettierrc \"./**/*.{ts,jsx}\" --check"
},
"devDependencies": {
"@rauschma/env-var": "^1.0.1",
"@tsconfig/strictest": "^1.0.2",
"husky": "^8.0.2",
"pinst": "^3.0.0",
"prettier": "^2.7.1",
"rollup": "^3.2.5",
"typescript": "^4.5.3",
"vite": "^3.2.3",
"vite-plugin-progress": "^0.0.6",
"vite-tsconfig-paths": "^3.5.2",
"vitest": "^0.25.1"
}
}