-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
142 lines (142 loc) · 3.37 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "sample-webextension",
"version": "1.0.0",
"description": "Second test project for - Tracker blocker extension",
"type": "module",
"main": "",
"engines": {
"node": ">=13.2.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lfilho/sample-webextension.git"
},
"author": "anonymous",
"license": "ISC",
"bugs": {
"url": "https://github.com/lfilho/sample-webextension/issues"
},
"homepage": "https://github.com/lfilho/sample-webextension#readme",
"scripts": {
"start": "npm run develop",
"develop": "web-ext run --browser-console --url $(pwd)/__tests__/shared/test_page.html",
"build": "web-ext build",
"release": "semantic-release",
"format:fix": "prettier --write \"**/*.{js,json,css,md}\"",
"lint": "eslint \"**/*.js\"",
"lint:fix": "npm run lint -- --fix",
"pretest": "npm run lint",
"test": "bin/jest",
"test:watch": "npm test -- --watch",
"get-version": "echo $npm_package_version",
"change-ext-version": "bin/change_ext_version.js"
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@jest/globals": "26.0.1",
"@semantic-release/commit-analyzer": "8.0.1",
"@semantic-release/exec": "5.0.0",
"@semantic-release/github": "7.0.7",
"@semantic-release/npm": "7.0.5",
"@semantic-release/release-notes-generator": "9.0.1",
"babel-eslint": "10.1.0",
"conventional-changelog-conventionalcommits": "4.3.0",
"eslint": "7.2.0",
"eslint-config-prettier": "6.11.0",
"eslint-formatter-pretty": "3.0.1",
"eslint-plugin-jest": "23.13.2",
"eslint-plugin-prettier": "3.1.3",
"husky": "4.2.5",
"jest": "26.0.1",
"jest-watch-typeahead": "0.6.0",
"lint-staged": "10.2.9",
"prettier": "2.0.5",
"semantic-release": "17.2.3",
"web-ext": "4.3.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{json,css,md}": "npm run format:fix --",
"*.js": [
"npm run lint:fix --"
]
},
"prettier": {
"singleQuote": true
},
"eslintConfig": {
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"browser": true,
"es2017": true,
"webextensions": true,
"node": true,
"jest": true
},
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": "error"
},
"extends": [
"eslint:recommended",
"prettier"
]
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "npm run change-ext-version -- ${nextRelease.version}",
"publishCmd": "npm run build"
}
],
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/github",
{
"assets": "dist/*.zip"
}
]
]
},
"webExt": {
"sourceDir": "src",
"artifactsDir": "dist",
"ignoreFiles": [
"images/duck_with_shades.png"
]
}
}