-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 2.47 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
{
"name": "@simwai/utils",
"version": "2.0.6",
"description": "",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"exports": "./build/index.js",
"files": [
"build/**/*"
],
"scripts": {
"format": "npx xo --fix --prettier",
"start": "npx tsx src/index.ts",
"debug": "npx tsx --inspect --trace-warnings ./src/index.ts",
"always-debug": "npx tsx watch --ignore ./test --inspect --trace-warnings ./src/index.ts",
"stop-debug": "npx fkill node.exe --force",
"test": "npx rimraf ./build && npx tsc && npx ava",
"build": "npx rimraf ./build && tsc",
"pre-publish": "npm run format && npm run test && npm run build",
"publish:patch": "npm version patch && npm publish --access=public",
"publish:minor": "npm version minor && npm publish --access=public",
"publish:major": "npm version major && npm publish --access=public",
"prepare": "npx husky"
},
"keywords": [
"ts"
],
"author": "simwai",
"license": "MIT",
"type": "module",
"dependencies": {
"chalk": "^5.3.0",
"luxon": "^3.5.0",
"neverthrow": "^7.0.1"
},
"devDependencies": {
"@ava/typescript": "^5.0.0",
"@sindresorhus/tsconfig": "^5.0.0",
"@types/luxon": "^3.4.2",
"@types/sinon": "^17.0.3",
"ava": "^6.1.3",
"fkill-cli": "^8.0.0",
"husky": "^9.0.11",
"rimraf": "^6.0.1",
"sinon": "^18.0.0",
"tsx": "^4.9.3",
"typescript": "^5.4.5",
"xo": "^0.26.1"
},
"engines": {
"node": ">=20"
},
"ava": {
"files": [
"./src/test/**/*.test.ts"
],
"typescript": {
"rewritePaths": {
"src/": "build/"
},
"compile": false
},
"concurrency": 5,
"failFast": false,
"failWithoutAssertions": false,
"verbose": true
},
"xo": {
"envs": [
"es2022",
"node",
"browser"
],
"prettier": true,
"ignore": "./build, ./node_modules",
"extensions": [
".ts"
],
"files": [
"./src/**/*.ts"
],
"rules": {
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/prefer-promise-reject-errors": "off",
"import/extensions": "off",
"max-params": "off",
"new-cap": "off",
"no-await-in-loop": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/prefer-array-some": "off",
"unicorn/prefer-module": "off",
"ava/use-test": "off"
}
}
}