-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3.16 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 3.16 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "@utily/worker-template",
"version": "0.0.3",
"description": "TypeScript template for stencil and Cloudflare workers.",
"private": true,
"repository": "https://github.com/worker-stencil-template/app/",
"type": "module",
"bugs": {
"url": "https://github.com/worker-stencil-template/app/issues/"
},
"homepage": "https://github.com/worker-stencil-template/app/",
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"jest": {
"transform": {
"^.+\\.(j|t)sx?$": [
"ts-jest",
{
"tsconfig": "./tsconfig.test.json",
"useESM": true
}
]
},
"extensionsToTreatAsEsm": [
".ts"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!(cryptly|authly|isoly|gracely|cloudly-http|cloudly-router|cloudly-formdata)/.*)"
],
"testEnvironment": "node",
"testRegex": "((\\.|/)(test|spec))(\\.|\\/.+)(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"node_modules/",
"dist/"
],
"collectCoverageFrom": [
"**/*.{ts,tsx,js,jsx}",
"!**/node_modules/**",
"!**/dist/**"
]
},
"scripts": {
"lint": "eslint '**/*.{ts,tsx}'",
"fix": "eslint '**/*.{ts,tsx}' --fix",
"clean": "rimraf dist node_modules coverage",
"test": "npm run build && node --experimental-vm-modules node_modules/.bin/jest --maxWorkers=2",
"login": "wrangler login",
"transpile": "tsc --project tsconfig.test.json",
"test:watch": "watch jest",
"build": "npm run build:production",
"build:production": "(rollup --config rollup.config.js) & (stencil build)",
"build:api": "NODE_ENV=production rollup -c",
"build:local:api": "NODE_ENV=development rollup -c",
"build:ui": "export NODE_ENV='local' && stencil build",
"start": "(npm run start:api) & (npm run start:ui) && kill $!",
"start:api": "NODE_ENV=development && (rollup -c --watch) & (while [ ! -f dist/_worker.js ]; do sleep 0.1; done && wrangler dev --live-reload --env local --inspector-port 9229 ; kill $!)",
"start:ui": "export NODE_ENV='local' && stencil build --dev --serve --watch",
"kill": "(ps -aux | grep rollup | grep watch | awk '{print $2}' | xargs kill $1) & (lsof -i tcp:8787 | grep 8787 | awk '{print $2}' | xargs kill $1) & (lsof -i tcp:3333 | grep 3333 | awk '{print $2}' | xargs kill $1)"
},
"devDependencies": {
"@cloudflare/workers-types": "4.20231218.0",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@stencil/core": "4.9.1",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"eslint": "8.56.0",
"eslint-plugin-prettierx": "github:utily/eslint-plugin-prettierx#utily-20231004",
"eslint-plugin-simple-import-sort": "10.0.0",
"jest": "29.7.0",
"jest-cli": "29.7.0",
"prettierx": "github:utily/prettierx#utily-20231004",
"puppeteer": "21.7.0",
"rimraf": "5.0.5",
"rollup": "4.9.4",
"rollup-plugin-copy": "3.5.0",
"rollup-plugin-typescript2": "0.36.0",
"ts-jest": "29.1.1",
"tslib": "2.6.2",
"typescript": "5.3.3"
},
"dependencies": {
"authly": "3.0.11",
"cloudly-http": "0.2.0-alpha.17",
"cloudly-router": "0.2.0-alpha.17",
"gracely": "2.0.8",
"smoothly": "1.0.0-alpha.129"
}
}