-
-
Notifications
You must be signed in to change notification settings - Fork 116
/
package.json
59 lines (59 loc) · 1.36 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
{
"private": true,
"scripts": {
"build": "parcel build source/manifest.json --dist-dir distribution --no-cache --no-source-maps",
"lint": "xo",
"pack:safari": "xcodebuild -project 'safari/GhostText.xcodeproj'",
"pre:build": "rm -rf distribution && node pre-build.mjs",
"pre:watch": "npm run pre:build",
"prepare:safari": "bash safari/prepare-release.sh",
"start:safari": "open 'safari/build/Release/GhostText.app'",
"test": "xo && npm run 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": "^4.2.0",
"webext-base-css": "^1.4.4",
"webext-options-sync": "^4.2.2",
"webext-permission-toggle": "^5.0.2"
},
"devDependencies": {
"@codemirror/view": "^6.28.2",
"@parcel/config-webextension": "^2.12.1-canary.3290",
"@types/chrome": "^0.0.268",
"dot-json": "^1.3.0",
"parcel": "^2.0.0-canary.1665",
"xo": "^0.58.0"
},
"engines": {
"node": ">=20"
},
"@parcel/resolver-default": {
"packageExports": true
},
"webExt": {
"sourceDir": "distribution",
"run": {
"startUrl": [
"https://ghosttext.fregante.com/test/"
]
}
}
}