-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
82 lines (82 loc) · 2.68 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
{
"name": "color-tailor",
"version": "0.3.0",
"description": "Dynamic Firefox theme",
"homepage": "https://github.com/dguo/color-tailor",
"bugs": "https://github.com/dguo/color-tailor/issues",
"license": "MIT",
"author": {
"name": "Danny Guo",
"email": "[email protected]",
"url": "https://dannyguo.com"
},
"repository": {
"type": "git",
"url": "https://github.com/dguo/color-tailor.git"
},
"scripts": {
"build": "parcel build source/manifest.json --target webext-prod",
"build:dev": "parcel watch source/manifest.json --host localhost --target webext-dev",
"clean": "rimraf dist",
"format": "prettier --write \"./**/*.{json,js}\"",
"format:check": "prettier --check \"./**/*.{json,js}\"",
"lint": "eslint source/**/*.js",
"release": "yarn install && yarn run format:check && yarn run lint && yarn run clean && yarn run build && web-ext lint && web-ext build --overwrite-dest && git archive -o web-ext-artifacts/source-code.zip HEAD",
"start": "yarn install && yarn run clean && concurrently --names \"parcel ,web-ext\" --timestamp-format HH:mm:ss.SSS -c \"yellow,green\" --prefix \"{name} | {time} | \" -s first \"yarn run build:dev\" \"wait-on dist/manifest.json && web-ext run --no-reload --firefox=firefoxdeveloperedition\""
},
"dependencies": {
"font-color-contrast": "1.1.1",
"image-promise": "6.0.2",
"node-vibrant": "3.1.6",
"parse-color": "1.0.0"
},
"devDependencies": {
"@parcel/config-webextension": "2.12.0",
"@parcel/core": "2.12.0",
"concurrently": "8.2.2",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"parcel": "2.12.0",
"prettier": "3.2.5",
"punycode": "1.4.1",
"querystring-es3": "0.2.1",
"rimraf": "5.0.5",
"wait-on": "7.2.0",
"web-ext": "7.11.0"
},
"eslintConfig": {
"env": {
"browser": true,
"commonjs": true,
"webextensions": true
},
"extends": [
"eslint:recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 8
}
},
"prettier": {
"bracketSpacing": false,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none"
},
"targets": {
"webext-dev": {
"distDir": "dist",
"sourceMap": {
"inline": true,
"inlineSources": true
}
},
"webext-prod": {
"distDir": "dist"
}
},
"webExt": {
"sourceDir": "dist"
}
}