-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.22 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
{
"name": "altv-jest-mocks",
"version": "1.1.0",
"description": "Jest mocks for alt:V modules and natives",
"keywords": [
"altv",
"jest",
"mock"
],
"homepage": "https://github.com/combowomb0/altv-jest-mocks#readme",
"bugs": {
"url": "https://github.com/combowomb0/altv-jest-mocks/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/combowomb0/altv-jest-mocks.git"
},
"license": "MIT",
"author": "combowomb0",
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {
"prettier": "prettier {__tests__,lib}/**/*.{js,ts} --list-different",
"prettier:write": "yarn prettier --write",
"test": "jest --colors --verbose",
"preversion": "yarn prettier && yarn test",
"postversion": "git push --tags && git push && npm publish"
},
"jest": {
"moduleNameMapper": {
"alt-client": "<rootDir>/lib/mocks/alt-client.js",
"alt-server": "<rootDir>/lib/mocks/alt-server.js",
"natives": "<rootDir>/lib/mocks/natives.js"
}
},
"devDependencies": {
"@altv/types-client": "^1.5.6",
"@altv/types-natives": "^1.3.0",
"@altv/types-server": "^1.7.6",
"@types/jest": "^26.0.23",
"jest": "^26.6.3",
"prettier": "^2.3.0"
}
}