forked from userwidgets/api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.28 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 3.28 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
{
"name": "@userwidgets/api",
"version": "0.0.4",
"description": "The userwidgets app api.",
"private": true,
"repository": "https://github.com/userwidgets/api",
"type": "module",
"bugs": {
"url": "https://github.com/userwidgets/api/issues"
},
"homepage": "https://github.com/userwidgets/api",
"main": "./dist/_worker.mjs",
"module": "./dist/_worker.mjs",
"jest": {
"transform": {
"^.+\\.(j|t)sx?$": [
"ts-jest",
{
"tsconfig": "./tsconfig.test.json"
}
]
},
"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",
"publish:production": "wrangler publish --env production",
"publish:preview": "wrangler publish --env preview",
"build": "rollup --config rollup.config.js",
"build:local": "rollup --config rollup.dev.config.js",
"start:wrangler": "wrangler dev --env wrangler",
"start": "(rollup --config rollup.dev.config.js --watch) & (node --experimental-vm-modules --inspect ./node_modules/miniflare/dist/src/cli.js dist/_worker.mjs --wrangler-env miniflare --watch --live-reload -B 'while [ ! -f dist/_worker.mjs ]; do sleep 0.1; done' && kill $!)",
"kill": "(grep port wrangler.toml | awk '{print $3}' | xargs -i lsof -i :{} | awk '{if (NR!=1) {print $2}}' | xargs kill 2>/dev/null) && (ps -aux | grep rollup | grep watch | awk '{print $2}' | xargs kill 2>/dev/null)"
},
"devDependencies": {
"@cloudflare/workers-types": "3.18.0",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^11.0.0",
"@types/jest": "^29.5.0",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"eslint": "^8.37.0",
"eslint-plugin-prettierx": "github:utily/eslint-plugin-prettierx#utily-20221229",
"eslint-plugin-simple-import-sort": "^10.0.0",
"jest": "^29.5.0",
"jest-cli": "^29.5.0",
"miniflare": "^2.13.0",
"prettierx": "github:utily/prettierx#utily-20221229",
"puppeteer": "^19.8.3",
"rimraf": "^4.4.1",
"rollup": "^2.79.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-dotenv": "^0.4.1",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^29.1.0",
"tslib": "^2.5.0",
"typescript": "^5.0.3"
},
"dependencies": {
"@userwidgets/model": "^0.0.31",
"authly": "^3.0.3",
"cloudly-formdata": "^0.0.8",
"cloudly-http": "^0.1.4",
"cloudly-rest": "^0.1.2",
"cloudly-router": "^0.1.1",
"cloudly-storage": "^0.7.38",
"gracely": "^2.0.3",
"isoly": "^2.0.16"
}
}