mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-27 08:00:51 +01:00
128 lines
2.9 KiB
JSON
128 lines
2.9 KiB
JSON
{
|
|
"name": "nitro-react",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@craco/craco": "^6.3.0",
|
|
"@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": {
|
|
"start": "craco start",
|
|
"build": "craco build",
|
|
"build:prod": "npm i git+https://git@git.krews.org/nitro/nitro-renderer#dev && npm i && npm run build",
|
|
"test": "craco 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"
|
|
]
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|