mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-30 00:50:50 +01:00
139 lines
3.1 KiB
JSON
139 lines
3.1 KiB
JSON
{
|
|
"name": "nitro-react",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@nitrots/nitro-renderer": "file:../nitro-renderer",
|
|
"animate.css": "^4.1.1",
|
|
"classnames": "^2.3.1",
|
|
"node-sass": "^5.0.0",
|
|
"react": "^17.0.2",
|
|
"react-bootstrap": "^2.0.0-alpha.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-scripts": "4.0.3",
|
|
"react-slider": "^1.3.1",
|
|
"react-transition-group": "^4.4.2",
|
|
"react-virtualized": "^9.22.3",
|
|
"typescript": "^4.3.5",
|
|
"web-vitals": "^1.1.2"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "node ./webpack-patcher.js",
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
],
|
|
"rules": {
|
|
"linebreak-style": [
|
|
"off"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"brace-style": [
|
|
"error",
|
|
"allman",
|
|
{
|
|
"allowSingleLine": true
|
|
}
|
|
],
|
|
"object-curly-spacing": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"keyword-spacing": [
|
|
"error",
|
|
{
|
|
"overrides": {
|
|
"if": {
|
|
"after": false
|
|
},
|
|
"for": {
|
|
"after": false
|
|
},
|
|
"while": {
|
|
"after": false
|
|
},
|
|
"switch": {
|
|
"after": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"@typescript-eslint/no-explicit-any": [
|
|
"off"
|
|
],
|
|
"@typescript-eslint/ban-ts-comment": [
|
|
"off"
|
|
],
|
|
"@typescript-eslint/no-empty-function": [
|
|
"error",
|
|
{
|
|
"allow": [
|
|
"functions",
|
|
"arrowFunctions",
|
|
"generatorFunctions",
|
|
"methods",
|
|
"generatorMethods",
|
|
"constructors"
|
|
]
|
|
}
|
|
],
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"off"
|
|
],
|
|
"@typescript-eslint/ban-types": [
|
|
"error",
|
|
{
|
|
"types": {
|
|
"String": true,
|
|
"Boolean": true,
|
|
"Number": true,
|
|
"Symbol": true,
|
|
"{}": false,
|
|
"Object": false,
|
|
"object": false,
|
|
"Function": false
|
|
},
|
|
"extendDefaults": true
|
|
}
|
|
],
|
|
"no-switch-case-fall-through": [
|
|
"off"
|
|
]
|
|
}
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^5.14.1",
|
|
"@testing-library/react": "^11.2.7",
|
|
"@testing-library/user-event": "^12.8.3",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/node": "^12.20.19",
|
|
"@types/react": "^17.0.15",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@types/react-slider": "^1.3.1",
|
|
"@types/react-transition-group": "^4.4.2",
|
|
"@types/react-virtualized": "^9.21.13",
|
|
"@typescript-eslint/eslint-plugin": "^4.29.1"
|
|
}
|
|
}
|