-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
112 lines (112 loc) · 2.89 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "@defer/client",
"version": "2.3.0",
"description": "Zero infrastructure NodeJS background jobs",
"main": "index.js",
"module": "index.js",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/defer-run/defer.client.git"
},
"author": "Defer Inc <[email protected]>",
"license": "ISC",
"engines": {
"node": ">=18"
},
"scripts": {
"build": "npm run clean && node utils/update-version.mjs && tsc --project tsconfig.build.json && cp package.json LICENSE README.md CHANGELOG.md dist",
"clean": "rm -rf ./dist",
"lint": "eslint src/**/*.ts",
"release": "changeset publish",
"test": "npx jest --passWithNoTests --config ./tests/jest.ts --silent --runInBand",
"coverage": "npx jest --passWithNoTests --config ./tests/jest.ts --silent --runInBand --coverage",
"test:dev": "npx jest --passWithNoTests --config ./tests/jest.ts --runInBand --watch"
},
"dependencies": {
"parse-duration": "^1.1.0"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@types/jest": "^29.5.11",
"@types/react": "^18.2.48",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"jest": "^29.7",
"next": "^14.1.0",
"prettier": "^3.2.5",
"react": "^18.2.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3"
},
"typings": "index.d.ts",
"typescript": {
"definition": "index.d.ts"
},
"exports": {
".": {
"require": {
"types": "./index.d.cts",
"default": "./index.js"
},
"import": {
"types": "./index.d.ts",
"default": "./index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./next": {
"require": {
"types": "./next/index.d.cts",
"default": "./next/index.js"
},
"import": {
"types": "./next/index.d.ts",
"default": "./next/index.js"
},
"default": {
"types": "./next/index.d.ts",
"default": "./next/index.js"
}
},
"./package.json": "./package.json"
},
"publishConfig": {
"directory": "dist",
"access": "public"
},
"eslintConfig": {
"root": true,
"reportUnusedDisableDirectives": true,
"env": {
"node": true
},
"ignorePatterns": [
"/tests/",
"node_modules/",
"coverage/",
"dist/",
"package-lock.json"
],
"overrides": [
{
"files": "*.{js,ts,jsx,tsx,cjs,cts,mjs,mts,cjsx,ctsx,mjsx,mtsx}",
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"@typescript-eslint/ban-types": 1,
"@typescript-eslint/no-explicit-any": 0
}
}
]
}
}