74 lines
1.9 KiB
JSON
74 lines
1.9 KiB
JSON
{
|
|
"name": "reacord",
|
|
"type": "module",
|
|
"description": "Create interactive Discord messages using React.",
|
|
"version": "0.0.0",
|
|
"types": "./dist/main.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/main.js",
|
|
"require": "./dist/main.cjs"
|
|
},
|
|
"./package.json": {
|
|
"import": "./package.json",
|
|
"require": "./package.json"
|
|
}
|
|
},
|
|
"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 --no-warnings ./node_modules/jest/bin/jest.js --colors",
|
|
"test-watch": "pnpm test -- --watch",
|
|
"coverage": "pnpm test -- --coverage",
|
|
"typecheck": "tsc --noEmit",
|
|
"playground": "nodemon --exec esmo --ext ts,tsx ./playground/main.tsx"
|
|
},
|
|
"dependencies": {
|
|
"@types/node": "*",
|
|
"@types/react": "*",
|
|
"@types/react-reconciler": "^0.26.4",
|
|
"nanoid": "^3.1.30",
|
|
"react-reconciler": "^0.26.2",
|
|
"rxjs": "^7.5.1"
|
|
},
|
|
"peerDependencies": {
|
|
"discord.js": "^13.3",
|
|
"react": ">=17"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"discord.js": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^27.4.4",
|
|
"@types/jest": "^27.0.3",
|
|
"@types/lodash-es": "^4.17.5",
|
|
"c8": "^7.10.0",
|
|
"discord.js": "^13.4.0",
|
|
"dotenv": "^10.0.0",
|
|
"esbuild": "latest",
|
|
"esbuild-jest": "^0.5.0",
|
|
"esmo": "^0.13.0",
|
|
"jest": "^27.4.5",
|
|
"lodash-es": "^4.17.21",
|
|
"nodemon": "^2.0.15",
|
|
"prettier": "^2.5.1",
|
|
"pretty-ms": "^7.0.1",
|
|
"react": "^17.0.2",
|
|
"tsup": "^5.11.9",
|
|
"type-fest": "^2.8.0",
|
|
"typescript": "^4.5.4"
|
|
},
|
|
"resolutions": {
|
|
"esbuild": "latest"
|
|
},
|
|
"prettier": "@itsmapleleaf/configs/prettier"
|
|
}
|