94 lines
2.7 KiB
JSON
94 lines
2.7 KiB
JSON
{
|
|
"name": "with-typescript-eslint-jest",
|
|
"author": "@erikdstock",
|
|
"license": "MIT",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"build": "next build",
|
|
"dev": "next dev",
|
|
"format": "prettier --write .",
|
|
"lint": "eslint . --ext ts --ext tsx --ext js",
|
|
"scripts": "node scripts/type-gen && yarn format",
|
|
"start": "next start",
|
|
"test-all": "yarn lint && yarn type-check && yarn test",
|
|
"test:update": "jest --updateSnapshot",
|
|
"test:watch": "jest --watchAll",
|
|
"test": "jest",
|
|
"type-check": "tsc --pretty --noEmit"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "yarn run type-check"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.@(ts|tsx)": [
|
|
"yarn lint",
|
|
"yarn format"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@monaco-editor/react": "^4.2.1",
|
|
"@radix-ui/react-checkbox": "^0.0.16",
|
|
"@radix-ui/react-context-menu": "^0.0.22",
|
|
"@radix-ui/react-dialog": "^0.0.18",
|
|
"@radix-ui/react-dropdown-menu": "^0.0.21",
|
|
"@radix-ui/react-hover-card": "^0.0.3",
|
|
"@radix-ui/react-icons": "^1.0.3",
|
|
"@radix-ui/react-radio-group": "^0.0.17",
|
|
"@radix-ui/react-tooltip": "^0.0.19",
|
|
"@sentry/integrations": "^6.7.2",
|
|
"@sentry/nextjs": "^6.7.2",
|
|
"@sentry/node": "^6.7.2",
|
|
"@sentry/react": "^6.7.2",
|
|
"@sentry/tracing": "^6.7.2",
|
|
"@sentry/webpack-plugin": "^1.15.1",
|
|
"@state-designer/react": "^1.7.32",
|
|
"@stitches/react": "^0.2.2",
|
|
"@types/uuid": "^8.3.0",
|
|
"browser-fs-access": "^0.17.3",
|
|
"framer-motion": "^4.1.17",
|
|
"gtag": "^1.0.1",
|
|
"idb-keyval": "^5.0.6",
|
|
"ismobilejs": "^1.1.1",
|
|
"monaco-editor": "^0.25.2",
|
|
"next": "latest",
|
|
"next-auth": "^3.27.0",
|
|
"next-pwa": "^5.2.21",
|
|
"perfect-freehand": "^0.4.9",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-feather": "^2.0.9",
|
|
"react-use-gesture": "^9.1.3",
|
|
"sucrase": "^3.19.0",
|
|
"uuid": "^8.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^11.2.5",
|
|
"@testing-library/user-event": "^13.1.9",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/node": "^14.14.25",
|
|
"@types/react": "^17.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^4.14.2",
|
|
"@typescript-eslint/parser": "^4.14.2",
|
|
"babel-jest": "^27.0.5",
|
|
"eslint": "^7.19.0",
|
|
"eslint-config-next": "^11.0.0",
|
|
"eslint-config-prettier": "^7.2.0",
|
|
"eslint-plugin-react": "^7.19.0",
|
|
"husky": "^4.2.3",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^27.0.4",
|
|
"jest-watch-typeahead": "^0.6.1",
|
|
"lint-staged": "^10.0.10",
|
|
"prettier": "^2.3.1",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"useTabs": false
|
|
}
|
|
}
|