-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
63 lines (63 loc) · 1.82 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
{
"name": "torrent-to-web",
"version": "2.0.2",
"repository": {
"type": "git",
"url": "git+https://github.com/DASPRiD/Torrent-to-Web.git"
},
"bugs": {
"url": "https://github.com/DASPRiD/Torrent-to-Web/issues"
},
"homepage": "https://github.com/DASPRiD/Torrent-to-Web#readme",
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@parcel/config-webextension": "^2.0.1",
"@tsconfig/recommended": "^1.0.1",
"eslint": "^8.10.0",
"eslint-config-dasprid": "^0.1.8",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"parcel": "^2.0.1",
"standard-version": "^9.3.2",
"typescript": "^4.5.2",
"web-ext": "^6.5.0",
"webextension-polyfill-ts": "^0.26.0"
},
"scripts": {
"start": "parcel watch src/manifest.json --host localhost --target webext-dev",
"build": "rm -rf dist-prod && parcel build src/manifest.json --no-source-maps --target webext-prod",
"browser": "web-ext run -s dist-dev/",
"replace-version": "sed -i 's/\"version\": \"0\"/\"version\": \"'\"$npm_package_version\"'\"/' dist-prod/manifest.json",
"postbuild": "npm run replace-version && web-ext build -s ./dist-prod --overwrite-dest",
"release": "standard-version --no-verify",
"lint": "eslint src",
"lint-fix": "eslint --fix src",
"prepare": "husky install"
},
"standard-version": {
"scripts": {
"posttag": "git push && git push --tags"
}
},
"targets": {
"webext-dev": {
"sourceMap": {
"inline": true,
"inlineSources": true
},
"distDir": "./dist-dev"
},
"webext-prod": {
"distDir": "./dist-prod"
}
},
"dependencies": {
"base64-arraybuffer": "^1.0.1",
"bootstrap": "^5.1.3",
"zod": "^3.11.6"
},
"lint-staged": {
"*.ts": "eslint --cache --fix"
}
}