This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
/
package.json
74 lines (74 loc) · 3.83 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
{
"name": "ccsearch-browser-extension",
"version": "1.0.0",
"description": "CC Search Browser Extension.",
"scripts": {
"lint": "eslint \"./src/**/*.js\" \"./tests/**/*.js\"",
"compile-sass-popup:dev": "node-sass src/popup/sass/main.scss src/popup/popup.css",
"compile-sass-options:dev": "node-sass src/options/sass/main.scss src/options/options.css",
"compile-sass-popup:prod": "node-sass src/popup/sass/main.scss src/popup/popup.css --output-style compressed",
"compile-sass-options:prod": "node-sass src/options/sass/main.scss src/options/options.css --output-style compressed",
"compile-sass-popup:watch": "node-sass src/popup/sass/main.scss src/popup/popup.css --watch ",
"compile-sass-options:watch": "node-sass src/options/sass/main.scss src/options/options.css --watch",
"clean": "rm -rf './dist'",
"build-chrome:prod": "TARGET=chrome webpack --mode production",
"build-firefox:prod": "TARGET=firefox webpack --mode production",
"build-opera:prod": "TARGET=opera webpack --mode production",
"build-edge:prod": "TARGET=edge webpack --mode production",
"build-chrome:dev": "TARGET=chrome webpack --mode development",
"build-firefox:dev": "TARGET=firefox webpack --mode development",
"build-opera:dev": "TARGET=opera webpack --mode development",
"build-edge:dev": "TARGET=edge webpack --mode development",
"package-source-code": "zip -r source-code.zip src tests package.json package-lock.json babel.config.js webpack.config.js LICENSE README.firefox.md",
"package-chrome": "npm run build && (cd dist/chrome/ && zip -r ../chrome.zip .)",
"package-firefox": "npm run build && (cd dist/firefox/ && zip -r ../firefox.zip .) && npm run package-source-code",
"package-edge": "npm run build && (cd dist/edge/ && zip -r ../edge.zip .)",
"dev": "npm run clean && npm run compile-sass-popup:dev && npm run compile-sass-options:dev && npm run build-firefox:dev && npm run build-chrome:dev && npm run build-opera:dev && npm run build-edge:dev",
"build": "npm run clean && npm run compile-sass-popup:prod && npm run compile-sass-options:prod && npm run build-firefox:prod && npm run build-chrome:prod && npm run build-opera:prod && npm run build-edge:prod",
"webpack-watch:firefox": "TARGET=firefox webpack --watch --mode development",
"webpack-watch:chrome": "TARGET=chrome webpack --watch --mode development",
"webpack-watch:opera": "TARGET=opera webpack --watch --mode development",
"webpack-watch:edge": "TARGET=edge webpack --watch --mode development",
"prettier:format": "./node_modules/.bin/prettier --write 'src/**/*.js' 'src/**/*.html' 'src/**/*.scss' 'tests/**/*.js'",
"prettier:check": "./node_modules/.bin/prettier --check 'src/**/*.js' 'src/**/*.html' 'src/**/*.scss' 'tests/**/*.js'",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/creativecommons/ccsearch-browser-extension.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/creativecommons/ccsearch-browser-extension/issues"
},
"homepage": "https://github.com/creativecommons/ccsearch-browser-extension#readme",
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@types/jest": "^24.0.17",
"copy-webpack-plugin": "^5.1.1",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.5",
"jest": "^24.8.0",
"node-sass": "^4.13.1",
"prettier": "^1.19.1",
"webpack": "^4.35.2",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.7.2"
},
"dependencies": {
"clipboard": "^2.0.6",
"downloadjs": "^1.4.7",
"imagesloaded": "^4.1.4",
"masonry-layout": "^4.2.2"
}
}