-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.24 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 3.24 KB
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
{
"name": "autoscrolling",
"version": "1.0.0",
"description": "Browser extension for Firefox",
"main": "background.js",
"directories": {
"test": "test"
},
"scripts": {
"start": "npm run build:gulp && npm run start:webpack",
"start:webpack": "cross-env DEBUG=true webpack -w --debug",
"start:gulp": "gulp watch",
"build": "npm run build:firefox",
"build:main": "npm run build:gulp && npm run build:webpack",
"build:webpack": "webpack --mode=production",
"build:gulp": "gulp",
"build:firefox": "npm run manifest:firefox && npm run build:main",
"build:chrome": "npm run manifest:chrome && npm run build:main",
"manifest:firefox": "cpy src/firefox-manifest.json addon --rename manifest.json",
"manifest:chrome": "cpy src/chrome-manifest.json addon --rename manifest.json",
"debug": "npm run manifest:firefox && cd addon && web-ext run",
"test": "npm run build:gulp && karma start",
"test:debug": "npm run build:gulp && karma start --no-single-run --auto-watch",
"lint": "eslint src",
"lint:ext": "cd addon && web-ext lint",
"pack": "npm run build && npm run lint:ext && cd addon && web-ext build",
"pack:src": "git archive HEAD --output=AutoScrolling.zip",
"precommit": "lint-staged"
},
"lint-staged": {
"src/**/*.js": [
"eslint src --fix",
"git add"
],
"src/**/*.json": [
"eslint src/**/*.json --fix",
"git add"
],
"tests/**/*.js": [
"eslint tests --fix",
"git add"
],
"gulpfile.babel.js": [
"eslint gulpfile.babel.js --fix",
"git add"
],
"webpack.config.js": [
"eslint webpack.config.js --fix",
"git add"
],
"addon/*.json": [
"eslint addon/*.json --fix",
"git add"
],
"package.json": [
"eslint package.json --fix",
"git add"
],
".eslintrc.json": [
"eslint .eslintrc.json --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/pinkienort/AutoScrolling.git"
},
"keywords": [
"webextension"
],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/pinkienort/AutoScrolling/issues"
},
"homepage": "https://github.com/pinkienort/AutoScrolling#readme",
"dependencies": {
"object.fromentries": "^2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babel-loader": "^8.0.4",
"cpy-cli": "^2.0.0",
"cross-env": "^5.2.0",
"eslint": "^5.9.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-json": "^1.2.1",
"gulp": "^4.0.0",
"gulp-concat": "^2.6.1",
"gulp-ejs": "^3.2.0",
"gulp-sass": "^4.0.1",
"html-loader": "^0.5.1",
"husky": "^1.0.0-rc.13",
"jasmine": "^3.2.0",
"json-loader": "^0.5.7",
"karma": "^3.1.1",
"karma-firefox-launcher": "^1.1.0",
"karma-html2js-preprocessor": "^1.1.0",
"karma-jasmine": "^2.0.1",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^3.0.5",
"lint-staged": "^8.0.0",
"sinon-chrome": "^2.3.2",
"spectre.css": "^0.5.3",
"web-ext": "^2.9.1",
"webextension-polyfill": "^0.3.1",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.0"
}
}