-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
101 lines (101 loc) · 3.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "just-not-sorry",
"description": "Chrome extension that warns you when you write emails using words which undermine your message",
"version": "2.5.3",
"author": "Steve Brudz, Manish Kakwani, Tami Reiss, and Eric Tillberg of Def Method",
"license": "MIT",
"repository": "git@github.com:defmethodinc/just-not-sorry.git",
"homepage": "https://github.com/defmethodinc/just-not-sorry",
"bugs": "https://github.com/defmethodinc/just-not-sorry/issues/new",
"scripts": {
"e2e": "npm run build && jest --verbose --config='.jest.puppeteer.config.js' ./e2e",
"test": "jest --verbose ./spec",
"test:watch": "npm run test -- --watch",
"build": "webpack --config webpack.config.js",
"build:watch": "webpack --config webpack.config.js --watch",
"webext:run": "sleep 10 && web-ext run --source-dir ./build/ --start-url gmail.com",
"webext:lint": "web-ext lint -s ./build",
"start:firefox": "concurrently \"npm:build:watch\" \"npm:webext:run\"",
"start:chrome": "concurrently \"npm:build:watch\" \"npm:webext:run -- -t chromium\"",
"format": "prettier --loglevel warn --write \"{src,spec}/*.{js,css}\" \"*.{md,css,json,js}\"",
"lint": "eslint . --cache --fix",
"site:version": "echo \"{\\\"commit\\\": \\\"$(git rev-parse --short HEAD)\\\"}\" > ./site/_data/version.json",
"site:phrases": "cp ./src/warnings/phrases.json ./site/_data",
"predeploy": "npm run site:phrases && npm run site:version",
"deploy": "gh-pages -d site",
"semantic-release": "cross-env GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD) semantic-release"
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-react-jsx": "^7.9.4",
"@babel/preset-env": "^7.9.6",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"babel": "^6.23.0",
"babel-eslint": "^8.2.6",
"babel-loader": "^8.0.6",
"commitizen": "^4.2.4",
"concurrently": "^5.2.0",
"copy-webpack-plugin": "^9.0.1",
"cz-conventional-changelog": "^3.1.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jasmine": "^4.1.1",
"eslint-plugin-jest": "^23.13.1",
"eslint-plugin-react": "^7.20.0",
"gh-pages": "^4.0.0",
"html-webpack-plugin": "^5.3.2",
"husky": "^4.2.5",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"jest-environment-puppeteer": "^7.0.1",
"jest-puppeteer": "^7.0.1",
"lint-staged": "^10.2.2",
"prettier": "^2.0.5",
"semantic-release": "^19.0.2",
"style-loader": "^3.3.1",
"web-ext": "^7.1.1",
"webpack": "^5.51.1",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.0.0"
},
"dependencies": {
"css-loader": "^6.7.3",
"prop-types": "^15.7.2",
"range-at-index": "^1.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-tooltip": "^5.8.1"
},
"husky": {
"hooks": {
"pre-commit": "npm test && lint-staged",
"pre-push": "npm test",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --cache --fix"
],
"*.{md,css,json}": [
"prettier --write"
]
},
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/spec/setupTests.js"
]
}
}