79 lines
2.3 KiB
JSON
79 lines
2.3 KiB
JSON
{
|
|
"name": "reacord",
|
|
"type": "module",
|
|
"description": "send reactive discord messages using react components ⚛",
|
|
"version": "0.0.0",
|
|
"types": "./dist/main.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
"import": "./dist/main.js",
|
|
"require": "./dist/main.cjs"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup-node library/main.ts --target node16 --format cjs,esm --dts --sourcemap",
|
|
"build-watch": "pnpm build -- --watch",
|
|
"lint": "eslint --ext js,ts,tsx .",
|
|
"lint-fix": "pnpm lint -- --fix",
|
|
"format": "prettier --write .",
|
|
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
|
|
"test-watch": "pnpm test -- --watch",
|
|
"coverage": "pnpm test -- --coverage",
|
|
"typecheck": "tsc --noEmit",
|
|
"playground": "nodemon --exec esmo --ext ts,tsx ./playground/main.tsx",
|
|
"docs": "typedoc library/main.ts --out docs --excludePrivate --excludeProtected --excludeInternal"
|
|
},
|
|
"dependencies": {
|
|
"@types/node": "*",
|
|
"@types/react": "*",
|
|
"@types/react-reconciler": "^0.26.4",
|
|
"nanoid": "^3.1.30",
|
|
"react-reconciler": "^0.26.2",
|
|
"rxjs": "^7.4.0"
|
|
},
|
|
"peerDependencies": {
|
|
"discord.js": "^13.3",
|
|
"react": ">=17"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"discord.js": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@itsmapleleaf/configs": "^1.1.2",
|
|
"@types/jest": "^27.0.3",
|
|
"@types/lodash-es": "^4.17.5",
|
|
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
|
"@typescript-eslint/parser": "^5.8.0",
|
|
"c8": "^7.10.0",
|
|
"discord.js": "^13.4.0",
|
|
"dotenv": "^10.0.0",
|
|
"esbuild": "latest",
|
|
"esbuild-jest": "^0.5.0",
|
|
"eslint": "^8.5.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
"eslint-plugin-import": "^2.25.3",
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
"eslint-plugin-react": "^7.28.0",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"eslint-plugin-unicorn": "^39.0.0",
|
|
"esmo": "^0.13.0",
|
|
"jest": "^27.4.5",
|
|
"lodash-es": "^4.17.21",
|
|
"nodemon": "^2.0.15",
|
|
"prettier": "^2.5.1",
|
|
"react": "^17.0.2",
|
|
"tsup": "^5.11.9",
|
|
"type-fest": "^2.8.0",
|
|
"typedoc": "^0.22.10",
|
|
"typescript": "^4.5.4"
|
|
},
|
|
"resolutions": {
|
|
"esbuild": "latest"
|
|
},
|
|
"prettier": "@itsmapleleaf/configs/prettier"
|
|
}
|