mirror of
https://github.com/siv-org/siv.git
synced 2026-05-03 03:00:59 -04:00
92 lines
2.3 KiB
JSON
92 lines
2.3 KiB
JSON
{
|
|
"name": "siv-demo",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"type-check": "tsc --pretty --noEmit",
|
|
"format": "prettier --write **/*.{js,ts,tsx}",
|
|
"lint": "eslint . --ext ts --ext tsx --ext js",
|
|
"test-all": "yarn lint && yarn type-check"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "yarn run type-check"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.@(ts|tsx)": [
|
|
"yarn lint",
|
|
"yarn format"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"bracketSpacing": true,
|
|
"jsxBracketSameLine": false,
|
|
"printWidth": 120,
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"trailingComma": "all"
|
|
},
|
|
"importSort": {
|
|
".js, .jsx, .ts, .tsx": {
|
|
"style": "module",
|
|
"parser": "typescript"
|
|
}
|
|
},
|
|
"stylelint": {
|
|
"extends": [
|
|
"stylelint-config-standard",
|
|
"stylelint-config-idiomatic-order"
|
|
],
|
|
"rules": {
|
|
"declaration-colon-newline-after": null,
|
|
"value-list-comma-newline-after": null
|
|
},
|
|
"ignoreFiles": [
|
|
"**/*.tsx"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons": "^4.2.1",
|
|
"@material-ui/core": "^4.11.0",
|
|
"@material-ui/icons": "^4.9.1",
|
|
"@mdx-js/loader": "^1.6.6",
|
|
"@nandorojo/swr-firestore": "^0.10.0",
|
|
"@next/mdx": "^9.4.4",
|
|
"@types/jsbn": "^1.2.29",
|
|
"firebase": "^7.15.5",
|
|
"jsbn": "^1.1.0",
|
|
"lodash": "^4.17.19",
|
|
"next": "latest",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"react-flip-move": "^3.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/lodash": "^4.14.157",
|
|
"@types/node": "^13.9.5",
|
|
"@types/react": "^16.9.27",
|
|
"@typescript-eslint/eslint-plugin": "^3.4.0",
|
|
"@typescript-eslint/parser": "^3.4.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.10.1",
|
|
"eslint-plugin-react": "^7.20.1",
|
|
"eslint-plugin-sort-destructure-keys": "^1.3.5",
|
|
"eslint-plugin-sort-keys-fix": "^1.1.1",
|
|
"eslint-plugin-typescript-sort-keys": "^1.2.0",
|
|
"husky": "^4.2.3",
|
|
"import-sort-style-module": "^6.0.0",
|
|
"lint-staged": "^10.0.10",
|
|
"prettier": "^2.0.2",
|
|
"prettier-plugin-import-sort": "^0.0.4",
|
|
"stylelint": "^13.6.1",
|
|
"stylelint-config-idiomatic-order": "^8.1.0",
|
|
"stylelint-config-standard": "^20.0.0",
|
|
"typescript": "^3.8.3"
|
|
}
|
|
}
|