-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
83 lines (83 loc) · 3.33 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "spellbook",
"version": "0.6.1",
"description": "Spellbook bookmark manager",
"author": "Peter Hillerström <peter.hillerstrom@gmail.com>",
"license": "MPL-2.0",
"type": "module",
"scripts": {
"build": "rm -rf dist/* && NODE_ENV=production rollup -c",
"dev": "rm -rf dev/* && NODE_ENV=development rollup -cw",
"firefox": "web-ext",
"firefox:dev": "web-ext -s dev run",
"firefox:lint": "web-ext -s dist lint",
"firefox:sign": "web-ext -s dist sign --api-key=$AMO_JWT_ISSUER --api-secret=$AMO_JWT_SECRET",
"firefox:beta": "pnpm run firefox:sign -- --channel=unlisted",
"lint": "run-s -n lint:js lint:styles",
"lint:js": "eslint --ignore-pattern '!.*.cjs' ./.*.cjs ./*.js ./*.mjs src/**/*.js src/**/*.svelte test/**/*.js",
"lint:styles": "stylelint src/**/*.{css,scss}",
"release": "run-s -n release:chrome release:firefox",
"release:chrome": "TARGET=chrome run-s -n lint build zip:chrome",
"release:firefox": "TARGET=firefox run-s -n lint build zip:firefox",
"test": "mocha test",
"test:puppeteer": "mocha test/test.js",
"version": "echo $npm_package_version",
"zip:firefox": "web-ext -s dist build",
"zip:chrome": "VERSION=$(git rev-parse --abbrev-ref HEAD 2>/dev/null) && cd dist && zip -r9v ../web-ext-artifacts/spellbook-$VERSION-chrome.zip * && cd -"
},
"dependencies": {
"events": "^3.3.0",
"kefir": "~3.8.8",
"rambda": "^6.7.0",
"spectre.css": "github:Valexr/spectre",
"zepto-detect": "~0.0.0"
},
"devDependencies": {
"@babel/core": "^7.22.6",
"@babel/eslint-parser": "^7.22.6",
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@rollup/plugin-commonjs": "^25.0.2",
"@rollup/plugin-eslint": "^9.0.4",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.3",
"@sveltejs/vite-plugin-svelte": "^2.4.2",
"@testing-library/svelte": "^3.0.3",
"chokidar": "^3.5.1",
"eslint": "^8.44.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-svelte3": "^4.0.0",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.21",
"puppeteer": "^10.0.0",
"rollup": "^3.26.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-execute": "^1.1.1",
"rollup-plugin-sass": "^1.2.2",
"rollup-plugin-svelte": "^7.1.0",
"sass": "^1.63.6",
"stylelint": "^15.10.1",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-sass-guidelines": "^10.0.0",
"stylelint-config-standard": "^34.0.0",
"svelte": "^3.59.2",
"svelte-preprocess": "^4.7.3",
"svelte-preprocess-sass": "^1.0.0",
"vite": "^4.3.9",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-generate-file": "^0.0.4",
"web-ext": "^7.6.2",
"webextension-polyfill": "^0.10.0"
},
"browserslist": [
"Chrome >= 87",
"Firefox >= 78",
"Safari >= 14",
"Edge >= 88"
]
}