58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"name": "casbin-editor",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"homepage": "https://editor.casbin.org/",
|
|
"keywords": [],
|
|
"main": "src/index.js",
|
|
"dependencies": {
|
|
"casbin": "^5.26.1",
|
|
"codemirror": "5.58.2",
|
|
"minimatch": "^9.0.0",
|
|
"normalize.css": "^8.0.1",
|
|
"react": "16.12.0",
|
|
"react-codemirror2": "6.0.0",
|
|
"react-dom": "16.12.0",
|
|
"styled-components": "4.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@craco/craco": "^7.1.0",
|
|
"@types/codemirror": "^0.0.80",
|
|
"@types/reach__router": "^1.2.6",
|
|
"@types/react": "^16.9.32",
|
|
"@types/react-dom": "^16.9.6",
|
|
"@types/styled-components": "^4.4.0",
|
|
"@typescript-eslint/eslint-plugin": "^2.7.0",
|
|
"@typescript-eslint/parser": "^2.7.0",
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
"eslint": "^6.6.0",
|
|
"eslint-config-prettier": "^6.5.0",
|
|
"eslint-plugin-prettier": "^3.1.1",
|
|
"gh-pages": "^2.2.0",
|
|
"husky": "^3.0.9",
|
|
"prettier": "^1.19.1",
|
|
"pretty-quick": "^2.0.1",
|
|
"react-scripts": "^5.0.1",
|
|
"typescript": "^4.3.5"
|
|
},
|
|
"scripts": {
|
|
"start": "craco start",
|
|
"build": "craco build",
|
|
"build-localhost": "PUBLIC_URL=/ craco build",
|
|
"test": "craco test --env=jsdom",
|
|
"eject": "craco eject",
|
|
"lint": "eslint . --ext .js,.ts,.tsx",
|
|
"predeploy": "npm run build",
|
|
"deploy": "gh-pages -d build"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
],
|
|
"browser": {
|
|
"fs": false
|
|
}
|
|
}
|