72 lines
1.8 KiB
JSON
72 lines
1.8 KiB
JSON
{
|
|
"name": "chartmelonplayer",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"antd": "^5.26.5",
|
|
"electron-is-dev": "^1.1.0",
|
|
"emotion": "^10.0.23",
|
|
"frameless-titlebar": "^1.0.8",
|
|
"react": "^16.11.0",
|
|
"react-dom": "^16.11.0",
|
|
"react-scripts": "^5.0.1"
|
|
},
|
|
"main": "public/electron.js",
|
|
"scripts": {
|
|
"start": "rescripts start",
|
|
"build": "rescripts build",
|
|
"test": "rescripts test",
|
|
"eject": "react-scripts eject",
|
|
"api": "cd src/lib && go run Apiserve.go",
|
|
"app": "concurrently \"npm run api\" \"npm run start\" \"wait-on http://localhost:3000 && electron .\""
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "babel-eslint",
|
|
"extends": [
|
|
"airbnb"
|
|
],
|
|
"plugins": [
|
|
"react",
|
|
"jsx-a11y",
|
|
"import"
|
|
],
|
|
"rules": {
|
|
"linebreak-style": 0,
|
|
"import/no-extraneous-dependencies": 0,
|
|
"no-use-before-define": 0,
|
|
"jsx-a11y/no-static-element-interactions": 0,
|
|
"jsx-a11y/click-events-have-key-events": 0
|
|
}
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@rescripts/cli": "^0.0.3",
|
|
"@rescripts/rescript-env": "^0.0.11",
|
|
"axios": "^1.10.0",
|
|
"babel-eslint": "^10.0.3",
|
|
"concurrently": "^5.0.0",
|
|
"electron": "^37.2.1",
|
|
"electron-builder": "^26.0.12",
|
|
"eslint": "6.1.0",
|
|
"eslint-config-airbnb": "18.0.1",
|
|
"eslint-plugin-import": "2.18.2",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-react": "7.14.3",
|
|
"eslint-plugin-react-hooks": "1.7.0",
|
|
"prettier-eslint": "^16.4.2",
|
|
"prop-types": "^15.7.2",
|
|
"wait-on": "^8.0.3"
|
|
}
|
|
}
|