forked from bluecaret/carettab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 2.27 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
{
"name": "carettab",
"version": "2.3.1",
"description": "CaretTab: New Tab Clock and Date - A simplistic New Tab page extension with options for displaying time, date, search, favorite links, and more!",
"main": "src/app.js",
"scripts": {
"scss": "node-sass --output-style compressed -o dist/css src/scss --source-map true --source-map-embed true",
"lint": "eslint src/js",
"uglify": "mkdirp dist/js && uglifyjs src/js/app.js src/js/links.js src/js/install_status.js src/js/load.js src/js/set_default.js src/js/actions.js src/js/functions.js src/js/run.js -c -m --output dist/js/app.min.js --source-map url=inline",
"copy": "cp src/carettab.htm dist/ && cp -R src/assets/ dist/assets/ && cp -R src/js/vendor dist/js/vendor && cp -R src/_locales dist/_locales && cp src/js/update.js dist/js/update.js",
"copy:chrome": "npm run copy && cp src/manifest.json dist/manifest.json",
"copy:firefox": "npm run copy && cp src/ffmanifest.json dist/manifest.json",
"zip:chrome": "rimraf carettab-chrome.zip && bestzip carettab-chrome.zip dist/*",
"zip:firefox": "rimraf carettab-firefox.zip && bestzip carettab-firefox.zip dist/*",
"build:chrome": "rimraf dist && npm run scss && npm run uglify && npm run copy:chrome && npm run zip:chrome",
"build:firefox": "rimraf dist && npm run scss && npm run uglify && npm run copy:firefox && npm run zip:firefox",
"watch:html": "onchange \"src/*.htm\" -v -- cp src/carettab.htm dist/",
"watch:css": "onchange \"src/scss/*.scss\" -- npm run scss",
"watch:js": "onchange \"src/js/*.js\" -- npm run uglify",
"start": "rimraf dist && npm run scss && npm run uglify && npm run copy:chrome && parallelshell \"npm run watch:css\" \"npm run watch:js\" \"npm run watch:html\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/bluecaret/carettab.git"
},
"author": "BlueCaret <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/bluecaret/carettab/issues"
},
"homepage": "https://github.com/bluecaret/carettab#readme",
"devDependencies": {
"bestzip": "^1.1.4",
"eslint": "^4.8.0",
"mkdirp": "^0.5.1",
"node-sass": "^4.5.3",
"onchange": "^3.2.1",
"parallelshell": "^3.0.1",
"rimraf": "^2.6.2",
"uglify-js": "^3.1.3"
},
"dependencies": {}
}