-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
76 lines (76 loc) · 2.09 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": "mock-xmlhttprequest",
"version": "8.4.0",
"description": "XMLHttpRequest mock for testing",
"type": "module",
"exports": {
"import": {
"types": "./dist/esm/index.d.mts",
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"main": "./dist/cjs/index.cjs",
"types": "./dist/cjs/index.d.cts",
"files": [
"dist/**/*"
],
"scripts": {
"build": "node --experimental-strip-types ./build/build.ts",
"build:clean": "rimraf dist",
"tsc:validate": "npm run tsc:validate:src && npm run tsc:validate:test && npm run tsc:validate:build",
"tsc:validate:src": "tsc --noEmit",
"tsc:validate:test": "tsc --noEmit -p test/tsconfig.json",
"tsc:validate:build": "tsc --noEmit -p build/tsconfig.json",
"lint": "eslint .",
"test": "node --experimental-strip-types --test",
"test:types": "attw --pack .",
"test:ci": "npm run test && npm run lint && npm run test:types",
"prepare": "npm run build:clean && npm run build",
"prepublishOnly": "npm run lint && npm run tsc:validate && npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/berniegp/mock-xmlhttprequest.git"
},
"keywords": [
"xhr",
"xmlhttprequest",
"test",
"mock",
"fake",
"ajax",
"request"
],
"author": "Bertrand Guay-Paquet <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/berniegp/mock-xmlhttprequest/issues"
},
"homepage": "https://github.com/berniegp/mock-xmlhttprequest#readme",
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@rollup/plugin-typescript": "^12.1.0",
"@stylistic/eslint-plugin": "^2.9.0",
"@types/node": "^22.0.0",
"eslint": "^9.0.0",
"rimraf": "^6.0.1",
"rollup": "^4.5.0",
"tslib": "^2.6.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.8.1"
},
"engines": {
"node": ">=16.0.0"
},
"devEngines": {
"runtime": {
"name": "node",
"version": ">=22.0.0",
"onFail": "error"
}
}
}