-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
42 lines (42 loc) · 1.04 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
{
"name": "rawter",
"author": "Paul Gordon",
"description": "A router designed for use with RawJS apps",
"version": "1.0.7",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/paul-go/rawter"
},
"bugs": {
"url": "https://github.com/paul-go/rawter/issues"
},
"main": "rawter.js",
"browser": "rawter.js",
"module": "rawter.esm.js",
"types": "rawter.d.ts",
"publishConfig": {
"access": "public"
},
"files": [
"LICENSE.txt",
"rawter.js",
"rawter.min.js",
"rawter.d.ts",
"rawter.d.ts.map",
"rawter.esm.js"
],
"scripts": {
"test": "exit 0",
"serve": "npx vite --host --port 4125",
"esm": "sed 's/\\/\\/+ //' ./+build/rawter.js > ./+build/rawter.esm.js",
"bundle": "tsc -p tsconfig.release.json && terser ./+build/rawter.js > ./+build/rawter.min.js && npm run esm",
"release": "npm run bundle && cd ./+build && cp ../package.json ./package.json && np && cp ./package.json ../package.json"
},
"devDependencies": {
"@squaresapp/rawjs": "^1.3.7"
},
"peerDependencies": {
"vite": "^2.9.13"
}
}