* Refactored `lib/metro` and added types + cleaned up `tsconfig.json` + minor changes to `build.mjs` and `package.json` * Made requested changes + added eslint rule to restrict top-level await * Exclude `transform-async-to-generator` from `env` (async/await is es7)
58 lines
1.7 KiB
JSON
58 lines
1.7 KiB
JSON
{
|
|
"name": "bunny",
|
|
"version": "1.0.0",
|
|
"description": "A mod for Discord's mobile apps, fork of Vendetta.",
|
|
"scripts": {
|
|
"dev": "node build.mjs",
|
|
"build": "node build.mjs --release",
|
|
"serve": "node build.mjs --serve",
|
|
"watch": "node build.mjs --watch",
|
|
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx"
|
|
},
|
|
"keywords": [
|
|
"discord",
|
|
"android",
|
|
"ios",
|
|
"react native",
|
|
"vendetta",
|
|
"bunny"
|
|
],
|
|
"author": "pylixonly, Team Vendetta",
|
|
"license": "BSD-3-Clause",
|
|
"devDependencies": {
|
|
"@react-native-clipboard/clipboard": "1.10.0",
|
|
"@swc/core": "^1.4.17",
|
|
"@swc/helpers": "^0.5.11",
|
|
"@types/chroma-js": "~2.4.0",
|
|
"@types/lodash": "~4.17.0",
|
|
"@types/node": "^20.11.25",
|
|
"@types/react": "~18.2.0",
|
|
"@types/react-native": "~0.72.0",
|
|
"@typescript-eslint/eslint-plugin": "^7.1.1",
|
|
"@typescript-eslint/parser": "^7.1.1",
|
|
"@typescript-eslint/typescript-estree": "^7.1.1",
|
|
"esbuild": "^0.20.2",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-import-alias": "^1.2.0",
|
|
"eslint-plugin-react": "^7.34.0",
|
|
"eslint-plugin-simple-import-sort": "^12.0.0",
|
|
"eslint-plugin-unused-imports": "^3.1.0",
|
|
"intl-messageformat": "^10.5.11",
|
|
"moment": "2.22.2",
|
|
"type-fest": "^4.12.0",
|
|
"typescript": "^5.4.5",
|
|
"typescript-transform-paths": "^3.4.7"
|
|
},
|
|
"dependencies": {
|
|
"fuzzysort": "^2.0.4",
|
|
"spitroast": "^1.4.4"
|
|
},
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"react",
|
|
"react-native"
|
|
]
|
|
}
|
|
}
|
|
}
|