-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 3.21 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
{
"name": "leboncoin-pdf-ext",
"version": "1.14.2",
"description": "PDF exporter for leboncoin.fr",
"license": "MIT",
"author": {
"name": "Bamdad Sabbagh",
"email": "[email protected]",
"url": "https://bamdadsabbagh.com/"
},
"scripts": {
"build": "pnpm dev:clean && pnpm build:clean && pnpm build:chrome && pnpm build:firefox",
"build:clean": "rimraf packages",
"build:increment": "build/increment.sh",
"build:chrome": "pnpm build:chrome:webpack && pnpm build:chrome:package",
"build:chrome:package": "web-ext build --source-dir dist/chrome --filename chrome.zip",
"build:chrome:webpack": "NODE_ENV=production pnpm webpack:chrome",
"build:firefox": "pnpm build:firefox:webpack && pnpm build:firefox:package",
"build:firefox:package": "web-ext build --source-dir dist/firefox --filename firefox.zip",
"build:firefox:webpack": "NODE_ENV=production pnpm webpack:firefox",
"dev:clean": "rimraf dist",
"dev:chrome": "pnpm dev:clean && pnpm dev:chrome:watch",
"dev:chrome:run": "web-ext run --source-dir dist/chrome -t chromium",
"dev:chrome:watch": "concurrently 'pnpm webpack:chrome' 'wait-on dist/chrome/manifest.json && pnpm dev:chrome:run'",
"dev:firefox": "pnpm dev:clean && pnpm dev:firefox:watch",
"dev:firefox:run": "web-ext run --source-dir dist/firefox",
"dev:firefox:watch": "concurrently 'pnpm webpack:firefox' 'wait-on dist/firefox/manifest.json && pnpm dev:firefox:run'",
"lint": "eslint src --ext .js --fix",
"package:reinstall": "rimraf node_modules && pnpm",
"package:sort": "npx sort-package-json",
"test": "jest",
"test:watch": "jest --watchAll",
"test:coverage": "jest --coverage",
"webpack:chrome": "webpack --env chrome",
"webpack:firefox": "webpack --env firefox"
},
"dependencies": {
"jspdf": "2.5.1"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/eslint-plugin": "^7.23.5",
"@babel/plugin-transform-runtime": "^7.24.3",
"@babel/preset-env": "^7.24.4",
"@bamdadsabbagh/stylelint-config": "^1.3.57",
"@types/chrome": "^0.0.266",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"babel-loader": "^9.1.3",
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^12.0.2",
"css-minimizer-webpack-plugin": "^6.0.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest-dom": "^5.2.0",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-testing-library": "^6.2.2",
"html-minimizer-webpack-plugin": "^5.0.0",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jest-webextension-mock": "^3.8.9",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"terser-webpack-plugin": "^5.3.10",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"wait-on": "^7.2.0",
"web-ext": "^7.11.0",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"webExt": {
"sourceDir": "dist",
"artifactsDir": "packages"
}
}