-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathpackage.json
executable file
·35 lines (35 loc) · 1.56 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
{
"name": "crx-extractor",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"clean": "rm -rf build/* s3/*",
"oldpackage": "cp -R css images js index.html how-does-adblock-work.html about.html google*.html contact.html robots.txt sitemap.xml terms-of-use.html build/",
"s3": "npm run clean && npm run oldpackage && cp -R build/* s3/",
"s3minifycss": "minify s3/js/app.js > s3/js/app.min.js && minify s3/css/stylesheet.css > s3/css/stylesheet.min.css && rm -rf s3/js/app.js s3/css/normalize.css s3/css/skeleton.css s3/css/stylesheet.css",
"s3gzip": "gzip -9 s3/css/*.css && gzip -9 s3/js/*.js && gzip -9 s3/*.html && find s3/. -name \"*.gz\" -type f -execdir sh -c 'mv -v {} $(basename {} .gz)' \\;",
"s3minifyhtml": "htmlmin -o s3/index.html.min s3/index.html && mv -f s3/index.html.min s3/index.html",
"s3build": "npm run clean && npm run s3 && npm run s3minifycss && npm run s3minifyhtml",
"server": "static-server -i index.html -f -d s3/",
"start": "npm run clean && npm run s3 && npm run s3minifycss && npm run s3minifyhtml && static-server -i index.html -f -d s3/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vladignatyev/crx-extractor.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/vladignatyev/crx-extractor/issues"
},
"homepage": "https://github.com/vladignatyev/crx-extractor#readme",
"dependencies": {
"htmlmin": "0.0.7",
"node-minify": "^2.0.2"
},
"devDependencies": {
"minify": "^9.1.0",
"static-server": "^2.2.1"
}
}