-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
94 lines (94 loc) · 2.38 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
{
"name": "rage-rpc",
"version": "0.2.5",
"description": "A universal, asynchronous RPC implementation for RAGE Multiplayer",
"scripts": {
"lint": "eslint src --ext mjs,js,ts,tsx --fix",
"format": "prettier --write src/**/*.{mjs,ts,js}",
"prepare": "husky install .github/husky",
"prebuild": "pnpm run clean",
"build": "rollup -c ./scripts/rollup.config.js --configProduction",
"postbuild": "rimraf ./dist/src && pnpm pack",
"clean": "rimraf {dist,*.tgz}",
"watch": "rollup -w -c ./scripts/rollup.config.js",
"update": "pnpm update --latest --interactive",
"commit": "git-cz",
"cz": "git-cz"
},
"main": "dist/rage-rpc.js",
"module": "dist/rage-rpc.esm.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/*"
],
"exports": {
"require": "./dist/rage-rpc.js",
"import": "./dist/rage-rpc.esm.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/leonardssh/rage-rpc.git"
},
"author": "LeonardSSH",
"license": "MIT",
"bugs": {
"url": "https://github.com/leonardssh/rage-rpc/issues"
},
"homepage": "https://github.com/leonardssh/rage-rpc#readme",
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@rollup/plugin-node-resolve": "^13.1.1",
"@types/node": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.3",
"minimist": "^1.2.5",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"rollup": "^2.61.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.1",
"rollup-plugin-version-injector": "^1.3.3",
"typescript": "^4.5.4"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"prettier": {
"$schema": "http://json.schemastore.org/prettierrc",
"endOfLine": "lf",
"printWidth": 150,
"quoteProps": "as-needed",
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none",
"useTabs": true,
"overrides": [
{
"files": "*.yml",
"options": {
"tabWidth": 2,
"useTabs": false
}
}
]
}
}