generated from vladcosorg/template-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.69 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
77
78
79
80
81
82
83
84
85
{
"name": "promised-gateway",
"version": "1.0.0",
"description": "example template for ts project",
"author": "chetzof @chetzof",
"prettier": "chetzof-lint-config/prettier/.prettierrc.js",
"homepage": "https://github.com/chetzof/promised-gateway",
"license": "MIT",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/chetzof/promised-gateway.git"
},
"files": [
"dist/*"
],
"dependencies": {
"collections-deep-equal": "^3.0.1",
"lodash.isequal": "^4.5.0",
"lodash.isplainobject": "^4.0.6",
"p-debounce": "^4.0.0",
"p-defer": "^4.0.0",
"promise-supplement": "^1.0.5"
},
"devDependencies": {
"@playwright/test": "^1.32.2",
"@types/lodash.isequal": "^4.5.6",
"@types/lodash.isplainobject": "^4.0.7",
"chetzof-lint-config": "^1.0.15",
"eslint-define-config": "^1.17.0",
"husky": "^8.0.3",
"npm-run-all": "^4.1.5",
"p-state": "^1.0.0",
"semantic-release": "^21.0.1",
"tsc-alias": "1.8.5",
"tsconfig-paths": "^4.2.0",
"type-fest": "^3.8.0",
"typescript": "^5.0.3",
"vite": "^4.2.1",
"vite-tsconfig-paths": "^4.0.8",
"vitest": "0.29.8"
},
"type": "module",
"scripts": {
"run-e2e-test-server": "cd ./tests/e2e/server && vite",
"clean": "rm -rf ./dist",
"build": "npm run clean && npm-run-all --parallel build:node:cjs build:node:esm build:browser",
"b": "npm-run-all clean build:node build:browser",
"build:node:esm": "rm -rf ./dist/node-esm && tsc -p ./tsconfig.node.esm.json && tsc-alias -p tsconfig.node.esm.json",
"build:node:cjs": "rm -rf ./dist/node-cjs && vite build -c vite.config.node.cjs.js",
"build:browser": "rm -rf ./dist/browser-esm && vite build -c vite.config.browser.esm.js",
"watch": "tsc -w -p tsconfig.production.json",
"lint": "npm run lint:tsc; npm run lint:eslint",
"fix": "npm run fix:prettier . && npm run fix:eslint .",
"fix:prettier": "prettier --write --ignore-unknown",
"fix:eslint": "NODE_ENV=production eslint --fix",
"lint:eslint": "NODE_ENV=production eslint .",
"lint:tsc": "tsc --noEmit -p tsconfig.production.json",
"prepack": "npm run build",
"test": "vitest",
"prepare": "husky install",
"semantic-release": "semantic-release",
"lint-staged:test": "vitest related --run"
},
"engines": {
"node": ">=16"
},
"types": "dist/types/index.d.ts",
"exports": {
".": {
"browser": "./dist/browser-esm/index.js",
"require": "./dist/node-cjs/index.cjs",
"import": "./dist/node-esm/index.js",
"default": "./dist/node-esm/index.js"
}
},
"release": {
"branches": [
"main"
]
},
"publishConfig": {
"access": "public"
}
}