mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-02 22:17:39 +00:00
* chore(scripts/twitter): Refactored twitter to use event enums * chore(scripts/marketplace): Refactored marketplace to use event enums * chore(scripts/messages): Refactored messages to use event enums * chore(scripts/contacts): Refactored contacts to use event enums * chore(scripts/calls): Refactored calls to use event enums * chore(scripts/notes): Refactored notes to use event enums * chore(scripts/photos): Refactored photos to use event enums * chore(scripts/bank): Refactored bank to use event enums * chore(scripts/phone): Refactored phone to use event enums * chore(events): Removed old events object * refactor(phone/nui-events): Attached NUI events to respective enum * tweak(event-enums): Added npwd prefix to all events * tweak(phone/serve): Added craco to override CRA without eject Also bumped react-scripts to 4.0.1, with seemingly no issues * fix(typings/twitter): Fixed method enums for twitter
108 lines
3.6 KiB
JSON
108 lines
3.6 KiB
JSON
{
|
|
"name": "npwd-nui",
|
|
"version": "0.1.0",
|
|
"repository": "https://github.com/project-error/new-phone-who-dis",
|
|
"private": false,
|
|
"license": "CC-BY-NC-SA-4.0",
|
|
"dependencies": {
|
|
"@babel/polyfill": "^7.4.4",
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
|
"@fortawesome/free-brands-svg-icons": "^5.15.1",
|
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
"@fortawesome/react-fontawesome": "^0.1.11",
|
|
"@material-ui/core": "^4.11.0",
|
|
"@material-ui/icons": "^4.9.1",
|
|
"@material-ui/lab": "^4.0.0-alpha.56",
|
|
"@popperjs/core": "^2.5.3",
|
|
"@sentry/react": "^5.29.2",
|
|
"@sentry/tracing": "^5.29.2",
|
|
"core-js": "^3.8.3",
|
|
"dayjs": "^1.10.4",
|
|
"dompurify": "^2.2.6",
|
|
"emoji-mart": "^3.0.0",
|
|
"enzyme": "^3.11.0",
|
|
"enzyme-adapter-react-16": "^1.15.5",
|
|
"howler": "^2.2.1",
|
|
"i18next": "^19.7.0",
|
|
"jsonschema": "^1.4.0",
|
|
"parse-url": "^5.0.2",
|
|
"qs": "^6.9.6",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"react-hotkeys": "^2.0.0",
|
|
"react-i18next": "^11.7.1",
|
|
"react-popper": "^2.2.3",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-scripts": "4.0.1",
|
|
"recoil": "^0.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.4.4",
|
|
"@babel/core": "^7.4.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.4.4",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
|
"@babel/preset-env": "^7.4.5",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@craco/craco": "^6.1.1",
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
"@testing-library/react": "^9.5.0",
|
|
"@testing-library/user-event": "^7.2.1",
|
|
"@types/enzyme": "^3.10.7",
|
|
"@types/howler": "^2.2.1",
|
|
"@types/jest": "^26.0.14",
|
|
"@types/node": "^14.11.5",
|
|
"@types/qs": "^6.9.5",
|
|
"@types/react": "^16.9.51",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@types/react-router-dom": "^5.1.7",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-loader": "^8.1.0",
|
|
"babel-plugin-styled-components": "^1.10.0",
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
"copy-webpack-plugin": "6.2.1",
|
|
"cp-cli": "^2.0.0",
|
|
"cra-build-watch": "^3.2.0",
|
|
"cross-env": "^7.0.2",
|
|
"css-loader": "^2.1.1",
|
|
"customize-cra": "^1.0.0",
|
|
"file-loader": "^3.0.1",
|
|
"html-loader": "^0.5.5",
|
|
"html-webpack-plugin": "^4.3.0",
|
|
"react-devtools": "^4.10.1",
|
|
"react-test-renderer": "^16.13.1",
|
|
"style-loader": "^0.23.1",
|
|
"svg-url-loader": "^2.3.2",
|
|
"terser-webpack-plugin": "^1.3.0",
|
|
"ts-loader": "^8.0.4",
|
|
"typescript": "3.9.7",
|
|
"url-loader": "^1.1.2",
|
|
"webpack-cli": "^3.3.12"
|
|
},
|
|
"scripts": {
|
|
"i18n:missing": "node --experimental-json-modules i18n.missingKeys.js",
|
|
"copy:config": "cp-cli ../config.json ./src/config.autogen.json",
|
|
"start": "craco start",
|
|
"watch": "cra-build-watch --disable-chunks --build-path ../resources/html --output-filename dev.js",
|
|
"build": "yarn copy:config && cross-env NODE_ENV=production webpack --config webpack/prod.config.js --color -p --progress --hide-modules --display-optimization-bailout",
|
|
"build:dev": "cross-env NODE_ENV=development webpack --config webpack/dev.config.js --color -p --progress --hide-modules --display-optimization-bailout --analyze",
|
|
"test": "craco test --watchAll=false --testMatch **/src/**/*.test.{ts,js,tsx}",
|
|
"test:watch": "react-scripts test --watchAll --testMatch **/src/**/*.test.{ts,js,tsx}",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|