-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 2.99 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "xnr",
"version": "3.2.1",
"license": "Apache-2.0",
"type": "module",
"main": "./dist/lib/index.js",
"exports": {
".": "./dist/lib/index.js",
"./jest": "./dist/jest.js"
},
"types": "./dist/lib/index.d.ts",
"bin": {
"xnr": "./dist/cli.js"
},
"description": "Easily, quickly and reliably run a Node.js script from the CLI.",
"sideEffects": false,
"keywords": [
"node",
"typescript",
"modules",
"commonjs",
"esm",
"cjs",
"run",
"runner",
"extreme",
"xtreme"
],
"homepage": "https://github.com/tbjgolden/xnr",
"author": {
"name": "Tom Golden",
"email": "[email protected]",
"url": "https://tom.bio"
},
"engines": {
"node": ">=17.1.0 || ^16.14.0",
"npm": ">=6.14.17"
},
"scripts": {
"build": "xnr ./.scripts/build.ts",
"check-build": "xnr ./.scripts/checkBuild.ts",
"test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" npx jest",
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@eslint/js": "^9.10.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@types/eslint__js": "^8.42.3",
"@types/espree": "^10.1.0",
"@types/jest": "^29.5.1",
"@types/node": "^20.16.0",
"acorn": "^8.12.1",
"acorn-walk": "^8.3.3",
"astring": "^1.8.6",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^55.0.0",
"fast-glob": "^3.3.2",
"get-tsconfig": "^4.7.6",
"globals": "^15.9.0",
"import-meta-resolve": "^4.1.0",
"jest": "^29.5.0",
"lint-time": "^0.1.1",
"msg-time": "^0.1.1",
"nano-spawn": "^0.1.0",
"prettier": "2.8.8",
"pub-time": "^1.0.0",
"rollup": "^4.22.4",
"simple-git-hooks": "^2.8.1",
"sucrase": "^3.35.0",
"typescript": "~5.5.4",
"typescript-eslint": "^8.5.0",
"xnr": "3.0.0-beta.0"
},
"files": [
"dist",
"!dist/cli.d.ts"
],
"simple-git-hooks": {
"commit-msg": "npx msg-time",
"pre-commit": "npx lint-time",
"pre-push": "npx jest -o --coverage=false --passWithNoTests"
},
"prettier": {
"printWidth": 100,
"proseWrap": "always"
},
"lint-time": [
[
"lib/*.ts",
"npx eslint -c eslint.config.mjs --cache --fix --max-warnings=0"
],
[
"*.{ts,js,cjs,mjs,json}",
"npx prettier --write"
]
],
"jest": {
"clearMocks": true,
"coverageReporters": [
"json-summary",
"text"
],
"errorOnDeprecated": true,
"extensionsToTreatAsEsm": [
".ts"
],
"transform": {
"\\.ts$": "<rootDir>/node_modules/xnr/dist/jest.js"
},
"modulePathIgnorePatterns": [
"<rootDir>/.xnr",
"<rootDir>/dist",
"<rootDir>/coverage",
"<rootDir>/node_modules"
],
"testEnvironment": "node",
"testMatch": [
"<rootDir>/lib/*.test.[tj]s"
]
}
}