/
package.json
57 lines (57 loc) 路 1.3 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
{
"private": true,
"scripts": {
"pre:build": "rm -rf distribution && node pre-build.mjs",
"build": "parcel build source/manifest.json --dist-dir distribution --no-cache --no-source-maps",
"lint": "xo",
"pack:safari": "xcodebuild -project 'safari/GhostText.xcodeproj'",
"prepare:safari": "bash safari/prepare-release.sh",
"start:safari": "open 'safari/build/Release/GhostText.app'",
"test": "xo && npm run build",
"pre:watch": "npm run pre:build",
"watch": "parcel watch source/manifest.json --dist-dir distribution --no-cache --no-hmr"
},
"browserslist": [
"Chrome >= 100",
"Firefox >= 100",
"Safari >= 14"
],
"xo": {
"envs": [
"browser",
"webextensions"
],
"ignores": [
"source/humane-ghosttext.js"
],
"rules": {
"no-alert": "off"
}
},
"dependencies": {
"one-event": "^3.0.0",
"webext-base-css": "^1.4.3",
"webext-options-sync": "^4.0.1",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
"@codemirror/view": "^6.9.2",
"@parcel/config-webextension": "^2.8.3",
"dot-json": "^1.2.2",
"parcel": "^2.8.3",
"webext-domain-permission-toggle": "^4.0.1",
"xo": "^0.56.0"
},
"engines": {
"node": ">=18",
"npm": ">=8"
},
"webExt": {
"sourceDir": "distribution",
"run": {
"startUrl": [
"https://ghosttext.fregante.com/test/"
]
}
}
}