* add @redux/toolkit * bump react version to allow for hooks * add remote-redux devtools to help track extension state * add remote-redux server to allow for remote state viewing * setup react-redux for current user * setup watch mode for running redux remote dev watch to options * move screenshots
121 lines
3.4 KiB
JSON
121 lines
3.4 KiB
JSON
{
|
|
"name": "chrome-wakatime",
|
|
"private": true,
|
|
"scripts": {
|
|
"postinstall": "clap postinstall",
|
|
"lint": "clap lint",
|
|
"start": "clap build",
|
|
"test": "clap test",
|
|
"validate": "npm ls",
|
|
"watch": "clap watch"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "npm test"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js|jsx|ts|tsx}": [
|
|
"eslint",
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.json": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@manaflair/redux-batch": "^1.0.0",
|
|
"@reduxjs/toolkit": "^1.5.0",
|
|
"bootstrap": "3.4.1",
|
|
"classnames": "^2.2.5",
|
|
"create-react-class": "^15.6.3",
|
|
"font-awesome": "4.6.3",
|
|
"jquery": "^3.0.0",
|
|
"moment": "^2.13.0",
|
|
"react": "^16.14.0",
|
|
"react-dom": "^16.14.0",
|
|
"react-redux": "^7.2.2",
|
|
"react-transition-group": "^1.0.0",
|
|
"redux-logger": "^3.0.6",
|
|
"webextension-polyfill-ts": "^0.22.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.8.7",
|
|
"@babel/preset-env": "^7.8.7",
|
|
"@babel/preset-react": "^7.8.3",
|
|
"@babel/preset-typescript": "^7.8.3",
|
|
"@testing-library/dom": "^7.29.4",
|
|
"@testing-library/jest-dom": "^5.11.9",
|
|
"@testing-library/react": "^11.2.3",
|
|
"@testing-library/user-event": "^12.6.0",
|
|
"@types/chrome": "0.0.128",
|
|
"@types/classnames": "^2.2.11",
|
|
"@types/copy-webpack-plugin": "^6.4.0",
|
|
"@types/firefox-webext-browser": "^82.0.0",
|
|
"@types/jest": "^26.0.20",
|
|
"@types/jquery": "^3.5.5",
|
|
"@types/node": "^14.14.20",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@types/react-redux": "^7.1.15",
|
|
"@types/redux-logger": "^3.0.8",
|
|
"@types/remote-redux-devtools": "^0.5.4",
|
|
"@types/shelljs": "^0.8.8",
|
|
"@typescript-eslint/eslint-plugin": "^4.13.0",
|
|
"@typescript-eslint/parser": "^4.13.0",
|
|
"@xarc/run": "^1.0.4",
|
|
"axios": "^0.21.1",
|
|
"babel-jest": "^22.1.0",
|
|
"babel-loader": "^8.2.2",
|
|
"browserify": "^17.0.0",
|
|
"chai": "^4.1.2",
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
"copy-webpack-plugin": "^7.0.0",
|
|
"del": "^3.0.0",
|
|
"eslint": "^7.17.0",
|
|
"eslint-config-kentcdodds": "^17.3.0",
|
|
"eslint-config-prettier": "^7.1.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jest-dom": "^3.6.5",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"eslint-plugin-react": "^7.22.0",
|
|
"eslint-plugin-sort-keys-fix": "^1.1.1",
|
|
"eslint-plugin-testing-library": "^3.10.1",
|
|
"eslint-plugin-typescript-sort-keys": "^1.5.0",
|
|
"gulp": "^3.9.1",
|
|
"husky": "^4.3.7",
|
|
"jest": "^26.6.3",
|
|
"jest-cli": "^22.1.4",
|
|
"jsdom": "^16.4.0",
|
|
"jshint": "^2.9.2",
|
|
"jsxhint": "^0.15.1",
|
|
"laravel-elixir": "^6.0.0-17",
|
|
"laravel-elixir-browserify-official": "^0.1.3",
|
|
"lint-staged": "^10.5.3",
|
|
"mocha": "^5.0.0",
|
|
"mocha-sinon": "^2.0.0",
|
|
"mocha-traceur": "^2.1.0",
|
|
"phantomjs": "^2.1.7",
|
|
"popper.js": "^1.14.6",
|
|
"prettier": "^2.2.1",
|
|
"prettier-plugin-packagejson": "^2.2.9",
|
|
"prettier-plugin-sort-json": "0.0.1",
|
|
"remote-redux-devtools": "^0.5.16",
|
|
"remotedev-server": "^0.3.1",
|
|
"rimraf": "^3.0.2",
|
|
"shelljs": "^0.8.4",
|
|
"sinon": "^4.2.2",
|
|
"sinon-chai": "^2.8.0",
|
|
"sinon-chrome": "^2.2.4",
|
|
"traceur": "^0.0.111",
|
|
"ts-jest": "^26.4.4",
|
|
"ts-loader": "^8.0.14",
|
|
"ts-node": "^9.1.1",
|
|
"typescript": "^4.1.3",
|
|
"webpack": "^5.14.0",
|
|
"webpack-cli": "^4.3.1"
|
|
}
|
|
}
|