-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
42 lines (42 loc) · 1.73 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": "thnk",
"private": true,
"version": "1.0.0",
"license": "MIT",
"workspaces": [
"code/*"
],
"scripts": {
"postinstall": "npm run generate-protocol",
"test": "jest",
"ts": "tsc",
"format": "prettier --write ./code/**/* ./scripts/*.js",
"generate-protocol": "node ./scripts/generate-protocol.js",
"build:thnk": "tsup ./code/index.ts --format esm --platform=browser --treeshake smallest --minify && tsup ./dist/index.mjs --format iife --platform=browser --global-name THNK --minify && node -e \"fs.promises.rm('./dist/index.mjs', {force:true})\"",
"build:thnk:dev": "tsup ./code/index.ts --format iife --platform=browser --global-name THNK",
"build:protocol-debug": "tsup ./code/t-h-n-k/index.ts --format iife --platform=browser --global-name T",
"build:adapters": "tsup ./code/adapters/*.ts --format iife && tsup ./code/adapters/geckos-server.ts --minify --format cjs",
"build:extensions": "node ./scripts/generate-extensions.js",
"build:clean": "node -e \"fs.promises.rm('./dist', {recursive:true,force:true})\"",
"build": "npm run build:clean && npm run generate-protocol && npm run build:thnk && npm run build:adapters && npm run build:extensions"
},
"devDependencies": {
"@geckos.io/client": "^2.2.3",
"@geckos.io/server": "^2.2.3",
"@types/follow-redirects": "^1.14.1",
"@types/jest": "^29.0.3",
"@types/node": "^18.7.18",
"@types/pako": "^2.0.0",
"all-contributors-cli": "^6.24.0",
"flatbuffers": "^2.0.6",
"follow-redirects": "^1.15.2",
"jest": "^29.0.3",
"msgpackr": "^1.6.1",
"node-stream-zip": "^1.15.0",
"pako": "^2.0.4",
"prettier": "^2.7.1",
"ts-jest": "^29.0.1",
"tsup": "^6.2.3",
"typescript": "^4.9.4"
}
}