-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
77 lines (77 loc) · 2.25 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
{
"name": "chat-ext",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test": "jest",
"build": "npm run clean && mkdir -p dist && npm run build:chrome && npm run build:firefox && npm run icons",
"build:chrome": "webpack --mode production && tailwindcss -i ./src/input.css -o ./dist/chrome/styles.css && cp manifest.json dist/chrome/",
"build:firefox": "webpack --mode production --env firefox=true && tailwindcss -i ./src/input.css -o ./dist/firefox/styles.css && cp manifest.firefox.json dist/firefox/manifest.json",
"dev": "webpack --mode development --watch",
"lint": "eslint src/**/*.js",
"format": "prettier --write src/**/*.{js,css,html}",
"postbuild": "cp manifest.json dist/",
"icons": "node scripts/generate-icons.js",
"prebuild": "npm run icons",
"clean": "rimraf dist/*"
},
"dependencies": {
"@tailwindcss/forms": "^0.5.9",
"highlight.js": "^11.9.0",
"marked": "^9.0.3",
"remixicon": "^4.5.0",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@types/chrome": "^0.0.244",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.1.3",
"concurrently": "^9.1.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.8.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"fs-extra": "^11.2.0",
"html-webpack-plugin": "^5.5.3",
"jest": "^29.7.0",
"mini-css-extract-plugin": "^2.9.2",
"postcss": "^8.4.49",
"postcss-loader": "^7.3.4",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"sharp": "^0.32.6",
"style-loader": "^3.3.3",
"tailwindcss": "^3.4.16",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"browserslist": [
"last 2 Chrome versions",
"last 2 Firefox versions"
],
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"env": {
"browser": true,
"es2021": true,
"webextensions": true
},
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 100,
"tabWidth": 2
}
}