-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.42 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "@web-pacotes/networking",
"version": "0.0.11",
"description": "Yet another fetch based HTTP library :)",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"sideEffects": false,
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --sourcemap",
"start": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.cjs && esbuild example/index.ts --bundle --outdir=example/dist --platform=node && node example/dist/index.js",
"start:web": "npm run demo",
"test": "jest",
"demo": "(cd example_web; npx tailwindcss -i ./styles.css -o ./dist/output.css) && open example_web/index.html",
"demo:publish": "(cd example_web; npx tailwindcss -i ./styles.css -o ./dist/output.css; temp=temp-build; mkdir $temp; cp -r -t $temp index.html favicon.png .nojekyll dist; npx gh-pagez -d $temp -t true -r https://github.com/freitzzz/demo-networking-ts -b master -m https://github.com/freitzzz/demo-networking-ts; rm -rf $temp)",
"docs": "typedoc",
"docs:publish": "typedoc && gh-pagez -d docs -t true",
"lint": "prettier --plugin-search-dir . --check . && eslint . --fix",
"format": "prettier --plugin-search-dir . --write .",
"release": "changeset",
"publish": "npm run build && changeset publish"
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*",
"!dist/**/spec/**"
],
"repository": {
"type": "git",
"url": "git+https://github.com/web-pacotes/networking.ts.git"
},
"keywords": [
"typescript",
"react",
"nodejs",
"fetch",
"http",
"angular",
"vue",
"svelte",
"httpclient",
"sveltekit",
"networking"
],
"author": "web-pacotes",
"license": "MIT",
"bugs": {
"url": "https://github.com/web-pacotes/networking.ts/issues"
},
"homepage": "https://github.com/web-pacotes/networking.ts#readme",
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@freitzzz/gh-pagez": "^5.0.1",
"@jest/globals": "^29.5.0",
"esbuild": "^0.20.2",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"eslint": "^8.38.0",
"eslint-plugin-unused-imports": "^2.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"ts-node": "^10.9.1",
"typedoc": "^0.24.6",
"prettier": "^2.8.7",
"ts-jest": "^29.1.0",
"tsup": "^6.7.0",
"typescript": "^5.0.4"
},
"dependencies": {
"@web-pacotes/foundation-types": "^0.0.4"
}
}