-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
34 lines (34 loc) · 1.15 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
{
"name": "vite-plugin-sql",
"version": "0.1.0",
"scripts": {
"confgen": "npx confgen@latest git yarn typescript vite library:VitePluginSql bin prettier",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir dist --skipLibCheck; mv dist/index.d.ts dist/index.umd.d.ts",
"check:types": "tsc --noEmit --skipLibCheck; if [ $? -eq 0 ]; then echo 8J+OiSBUeXBlcyBhcmUgZ29vZCEKCg== | base64 -d; fi",
"build:vite": "vite build",
"build": "rm -rf dist/*; npm run build:vite; npm run build:types; npm run build:bin",
"build:bin": "echo '#!/usr/bin/env node'|cat - dist/index.umd.js > /tmp/out && mv /tmp/out dist/index.umd.js; chmod a+x dist/index.umd.js",
"fix:format": "prettier --write --ignore-path .gitignore .",
"bump": "./bump.sh"
},
"devDependencies": {
"prettier": "^2.5.1",
"typescript": "^4.5.5",
"vite": "^2.8.4"
},
"peerDependencies": {
"vite": "*"
},
"files": [
"dist"
],
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js"
}
},
"bin": "./dist/index.umd.js"
}