mirror of
https://github.com/fregante/GhostText.git
synced 2024-09-11 19:47:22 +03:00
48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "parcel build source/manifest.json --no-source-maps --no-optimize --dist-dir distribution --no-cache --detailed-report 0",
|
|
"lint": "xo",
|
|
"pack:safari": "xcodebuild -project 'safari/GhostText.xcodeproj'",
|
|
"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": [
|
|
"last 1 Chrome version",
|
|
"last 1 Firefox version"
|
|
],
|
|
"xo": {
|
|
"envs": [
|
|
"browser",
|
|
"webextensions"
|
|
],
|
|
"ignores": [
|
|
"source/humane-ghosttext.js"
|
|
],
|
|
"rules": {
|
|
"no-alert": "off"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"one-event": "^3.0.0",
|
|
"webext-base-css": "^1.3.1",
|
|
"webext-options-sync": "^2.0.1",
|
|
"webextension-polyfill": "^0.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@parcel/config-webextension": "^2.0.0-nightly.2186",
|
|
"@parcel/transformer-webextension": "^2.0.0-nightly.2186",
|
|
"parcel": "^2.0.0-nightly.562",
|
|
"xo": "^0.37.1"
|
|
},
|
|
"webExt": {
|
|
"sourceDir": "distribution",
|
|
"run": {
|
|
"startUrl": [
|
|
"https://ghosttext.github.io/GhostText/demo/"
|
|
]
|
|
}
|
|
}
|
|
}
|