-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
110 lines (110 loc) · 2.88 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
{
"name": "aspida-mock",
"version": "0.0.0",
"description": "TypeScript friendly RESTful API mock for aspida",
"author": "Solufa <[email protected]>",
"license": "MIT",
"main": "./dist/cjs/index.js",
"bin": "bin/index.js",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
},
"./package.json": "./package.json"
},
"scripts": {
"dev": "npm run build && aspida && node bin/index.js",
"build": "rimraf dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json",
"lint": "eslint --ext .js,.ts. && prettier --check \"./**/*.ts\"",
"lint:fix": "eslint --ext .js,.ts . --fix && prettier --write \"./**/*.ts\"",
"test": "jest",
"typecheck": "tsc --noEmit"
},
"homepage": "https://github.com/aspida/aspida-mock#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/aspida/aspida-mock.git"
},
"bugs": {
"url": "https://github.com/aspida/aspida-mock/issues"
},
"files": [
"dist"
],
"keywords": [
"aspida",
"typescript",
"mock"
],
"eslintConfig": {
"env": {
"es6": true,
"node": true,
"browser": true
},
"extends": [
"standard",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"root": true,
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-explicit-any": "off"
}
},
"prettier": {
"printWidth": 100,
"arrowParens": "avoid",
"singleQuote": true,
"overrides": [
{
"files": [
"*.md",
"*.yml"
],
"options": {
"singleQuote": false
}
}
]
},
"peerDependencies": {
"aspida": ""
},
"devDependencies": {
"@aspida/node-fetch": "^1.13.3",
"@types/jest": "^29.5.3",
"@types/node-fetch": "^2.6.4",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.10.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"jest": "^29.6.2",
"node-fetch": "^2.6.12",
"prettier": "^2.8.8",
"prettier-plugin-organize-imports": "^3.2.3",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
}
}