68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "pnpm -C packages/reacord build",
|
|
"build-watch": "pnpm -C packages/reacord build -- --watch",
|
|
"lint": "eslint --ext js,ts,tsx .",
|
|
"lint-fix": "pnpm lint -- --fix",
|
|
"format": "prettier --write .",
|
|
"test": "pnpm build && pnpm test-only",
|
|
"test-only": "ava",
|
|
"test-coverage": "pnpm build && c8 pnpm test-only",
|
|
"typecheck": "pnpm build && tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"@itsmapleleaf/configs": "^1.1.0",
|
|
"@types/node": "*",
|
|
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
"@typescript-eslint/parser": "^5.6.0",
|
|
"ava": "^4.0.0-rc.1",
|
|
"c8": "^7.10.0",
|
|
"esbuild": "^0.14.2",
|
|
"esbuild-node-loader": "^0.6.3",
|
|
"eslint": "^8.4.1",
|
|
"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.27.1",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"eslint-plugin-unicorn": "^39.0.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.5.1",
|
|
"typescript": "^4.5.4"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"./node_modules/@itsmapleleaf/configs/eslint"
|
|
],
|
|
"ignorePatterns": [
|
|
"**/node_modules/**",
|
|
"**/coverage/**",
|
|
"**/dist/**",
|
|
"**/.vscode/**"
|
|
],
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
}
|
|
},
|
|
"prettier": "@itsmapleleaf/configs/prettier",
|
|
"ava": {
|
|
"files": [
|
|
"**/*.test.{ts,tsx}",
|
|
"!**/{node_modules,dist,coverage}/**"
|
|
],
|
|
"nodeArguments": [
|
|
"--loader=esbuild-node-loader",
|
|
"--experimental-specifier-resolution=node",
|
|
"--no-warnings",
|
|
"--enable-source-maps"
|
|
],
|
|
"extensions": {
|
|
"ts": "module",
|
|
"tsx": "module"
|
|
}
|
|
}
|
|
}
|