109 lines
2.8 KiB
JSON
109 lines
2.8 KiB
JSON
{
|
|
"name": "chrome-wakatime",
|
|
"private": true,
|
|
"scripts": {
|
|
"postinstall": "clap postinstall",
|
|
"lint": "clap lint",
|
|
"start": "clap build",
|
|
"test": "clap test",
|
|
"validate": "npm ls"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "npm test"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js|jsx|ts|tsx}": [
|
|
"eslint",
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.json": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"jest": {
|
|
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
|
|
"testDirectoryName": "tests",
|
|
"testFileExtensions": [
|
|
"jest.js"
|
|
],
|
|
"testURL": "http://localhost/",
|
|
"unmockedModulePathPatterns": [
|
|
"<rootDir>/node_modules/react"
|
|
],
|
|
"verbose": true
|
|
},
|
|
"dependencies": {
|
|
"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.2.0",
|
|
"react-dom": "^16.2.0",
|
|
"react-transition-group": "^1.0.0",
|
|
"webextension-polyfill": "^0.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chrome": "0.0.128",
|
|
"@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/shelljs": "^0.8.8",
|
|
"@typescript-eslint/eslint-plugin": "^4.13.0",
|
|
"@typescript-eslint/parser": "^4.13.0",
|
|
"@xarc/run": "^1.0.4",
|
|
"babel-jest": "^22.1.0",
|
|
"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-prettier": "^3.3.1",
|
|
"eslint-plugin-react": "^7.22.0",
|
|
"eslint-plugin-sort-keys-fix": "^1.1.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",
|
|
"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-loader": "^8.0.14",
|
|
"ts-node": "^9.1.1",
|
|
"typescript": "^4.1.3",
|
|
"webpack": "^5.14.0",
|
|
"webpack-cli": "^4.3.1"
|
|
}
|
|
}
|