forked from cloudflare/wildebeest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 2.24 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
43
44
45
46
47
48
49
50
51
52
{
"name": "wildebeest",
"version": "0.0.1",
"type": "module",
"author": "Sven Sauleau <[email protected]>",
"devDependencies": {
"@cloudflare/pages-plugin-cloudflare-access": "^1.0.2",
"@cloudflare/workers-types": "^4.20221111.1",
"@databases/split-sql-query": "1.0.3",
"@databases/sql": "3.2.0",
"@playwright/test": "^1.30.0",
"@types/jest": "^29.2.4",
"@types/node": "^18.11.11",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"better-sqlite3": "8",
"concurrently": "^7.6.0",
"eslint": "^8.29.0",
"jest": "^29.3.1",
"jest-environment-miniflare": "^2.11.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4",
"wrangler": "2.7.1"
},
"private": true,
"scripts": {
"pretty": "npx prettier --list-different './**/*.ts'",
"test": "NODE_OPTIONS=--experimental-vm-modules yarn jest",
"lint": "run-s lint:* --print-label",
"lint:frontend": "npm --prefix frontend run lint",
"lint:backend": "npx eslint backend",
"lint:functions": "npx eslint functions",
"lint:consumer": "npx eslint consumer",
"build": "yarn --cwd frontend install && yarn --cwd frontend build",
"d1": "NO_D1_WARNING=true wrangler d1",
"pages": "NO_D1_WARNING=true wrangler pages",
"database:migrate": "yarn d1 migrations apply DATABASE",
"database:create-mock": "rm -f .wrangler/state/d1/DATABASE.sqlite3 && yarn database:migrate --local && node ./frontend/mock-db/run.mjs",
"dev": "export COMMIT_HASH=$(git rev-parse HEAD) && yarn build && yarn database:migrate --local && yarn pages dev frontend/dist --d1 DATABASE --persist --compatibility-date=2022-12-20 --binding 'INSTANCE_DESCR=My Wildebeest Instance' --live-reload",
"ci-dev-test-ui": "yarn build && yarn database:create-mock && yarn pages dev frontend/dist --d1 DATABASE --persist --port 8788 --binding 'INSTANCE_DESCR=My Wildebeest Instance' --compatibility-date=2022-12-20",
"deploy:init": "yarn pages project create wildebeest && yarn d1 create wildebeest",
"deploy": "yarn build && yarn database:migrate && yarn pages publish frontend/dist --project-name=wildebeest"
},
"dependencies": {
"@types/cookie": "^0.5.1",
"cookie": "^0.5.0",
"http-message-signatures": "^0.1.2",
"toucan-js": "^3.1.0"
}
}