-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
36 lines (36 loc) · 931 Bytes
/
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
{
"name": "@squaresapp/hatjs",
"author": "Paul Gordon",
"description": "Utility Functions For Anonymous Controller Classes",
"version": "1.0.3",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/squaresapp/hatjs"
},
"bugs": {
"url": "https://github.com/squaresapp/hatjs/issues"
},
"main": "hat.js",
"browser": "hat.js",
"module": "hat.esm.js",
"types": "hat.d.ts",
"publishConfig": {
"access": "public"
},
"files": [
"LICENSE.txt",
"readme.md",
"hat.js",
"hat.min.js",
"hat.d.ts",
"hat.d.ts.map",
"hat.esm.js"
],
"scripts": {
"test": "exit 0",
"esm": "sed 's/\"use strict\";/export/' ./+build/hat.js > ./+build/hat.esm.js",
"bundle": "tsc -p tsconfig.release.json && terser ./+build/hat.js > ./+build/hat.min.js && npm run esm",
"release": "npm run bundle && cd ./+build && cp ../package.json ./package.json && np && cp ./package.json ../package.json"
}
}