mirror of
https://github.com/bellingcat/auto-archiver-extension.git
synced 2026-06-07 19:18:33 +03:00
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "rm -rf distribution && rm -f distribution.zip && API_ENDPOINT=https://auto-archiver-api.bellingcat.com parcel build source/manifest.json --no-content-hash --no-source-maps --dist-dir distribution --no-cache --detailed-report 0 && zip -r distribution.zip distribution",
|
|
"lint": "run-p lint:*",
|
|
"lint-fix": "run-p 'lint:* -- --fix'",
|
|
"lint:css": "stylelint source/**/*.css",
|
|
"lint:js": "xo",
|
|
"test": "run-p lint:* build",
|
|
"watch": "parcel watch source/manifest.json --dist-dir distribution --no-cache --no-hmr",
|
|
"watch-prod": "API_ENDPOINT=https://auto-archiver-api.bellingcat.com 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"
|
|
]
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-xo"
|
|
},
|
|
"dependencies": {
|
|
"@material-design-icons/font": "^0.14.10",
|
|
"http-status-codes": "^2.2.0",
|
|
"material-design-icons": "^3.0.1",
|
|
"materialize-css": "^1.0.0-rc.2",
|
|
"vue": "^3.2.45",
|
|
"webext-base-css": "^1.4.1",
|
|
"webext-options-sync": "^3.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@parcel/config-webextension": "^2.8.3",
|
|
"@parcel/transformer-vue": "^2.8.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"parcel": "^2.8.3",
|
|
"stylelint": "^14.9.1",
|
|
"stylelint-config-xo": "^0.21.0",
|
|
"xo": "^0.50.0"
|
|
},
|
|
"webExt": {
|
|
"sourceDir": "distribution",
|
|
"run": {
|
|
"startUrl": [
|
|
"https://github.com/bellingcat/auto-archiver-extension"
|
|
]
|
|
}
|
|
},
|
|
"@parcel/bundler-default-bug": "https://github.com/parcel-bundler/parcel/issues/8071",
|
|
"@parcel/bundler-default": {
|
|
"minBundles": 10000000
|
|
}
|
|
}
|