-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
117 lines (117 loc) · 3.52 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "spdx-license-diff",
"private": true,
"version": "0.9.2",
"description": "Diff selected text against SPDX licenses",
"scripts": {
"clean": "rm -rf packages dist",
"dev": "webextension-toolbox dev",
"build": "webextension-toolbox build",
"firefox": "web-ext run -s dist/firefox --bc -u https://www.apache.org/licenses/LICENSE-2.0 -u https://www.gnu.org/licenses/gpl-3.0.en.html",
"lint": "eslint app && web-ext lint -s app",
"changelog": "gren c --generate --override -B -t all",
"attribution": "generate-attribution --production",
"test": "yarn lint && yarn install && yarn build chrome && yarn build firefox -m && yarn build opera && yarn build edge",
"production": "([ ! -z $GITHUB_WORKFLOW ] || (yarn lint && yarn install)) && yarn build chrome && yarn build firefox -m && yarn build opera && yarn build edge",
"buildall": "yarn clean && yarn attribution && yarn production"
},
"standard": {
"globals": [
"chrome"
]
},
"devDependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"copy-webpack-plugin": "^5.0.3",
"eslint": "^6.0.1",
"eslint-config-prettier": "^6.3.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-standard": "^1.0.2",
"github-release-notes": "^0.17.0",
"mversion": "^2.0.0",
"oss-attribution-generator": "^1.7.1",
"prettier": "^2.0.4",
"semantic-release": "^19",
"semantic-release-chrome": "^1.1.3",
"semantic-release-firefox": "^2.0.3",
"standard": "^14.3.3",
"web-ext": "^4.1.0",
"webextension-toolbox": "latest"
},
"dependencies": {
"diff-match-patch": "^1.0.0",
"fast-dice-coefficient": "^1.0.3",
"fastest-levenshtein": "^1.0.12",
"jquery": "^3.2.1",
"underscore": "^1.12.1"
},
"release": {
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogTitle": "# Changelog"
}
],
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/git",
[
"@semantic-release/github",
{
"assets": [
{
"path": "spdx-license-diff.chrome.zip",
"label": "Chrome"
},
{
"path": "spdx-license-diff.firefox.xpi.zip",
"label": "Firefox"
},
{
"path": "packages/*.edge.zip",
"label": "Edge"
},
{
"path": "packages/*.opera.crx.zip",
"label": "Opera"
}
]
}
],
[
"semantic-release-chrome",
{
"distFolder": "dist/chrome",
"asset": "spdx-license-diff.chrome.zip",
"extensionId": "kfoadicmilbgnicoldjmccpaicejacdh"
}
],
[
"semantic-release-firefox",
{
"distFolder": "dist/firefox",
"xpiPath": "spdx-license-diff.firefox.xpi.zip",
"addOnSlug": "spdx-license-diff",
"notesToReviewer": "Please see https://github.com/spdx/spdx-license-diff/blob/master/DEVELOPERS.md for compile instructions."
}
]
]
}
}