-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.7 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 2.7 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
{
"name": "pinput",
"description": "Light-weight chrome extension for Pinboard.",
"config": {
"browserify": "--transform [ babelify --plugins [ transform-es2015-modules-commonjs ] ]",
"htmlmin": "--remove-comments --collapse-whitespace"
},
"scripts": {
"build": "npm run html && npm run css && npm run js && npm run copy",
"html": "mkdir -p dist/html && npm run html:background && npm run html:options && npm run html:popup",
"html:background": "html-minifier $npm_package_config_htmlmin -o dist/html/background.html src/html/background.html",
"html:options": "html-minifier $npm_package_config_htmlmin -o dist/html/options.html src/html/options.html",
"html:popup": "html-minifier $npm_package_config_htmlmin -o dist/html/popup.html src/html/popup.html",
"css": "mkdir -p dist/css/lib && npm run css:jquery-ui && npm run css:bootstrap",
"css:jquery-ui": "csso src/css/lib/jquery-ui.custom.css -o dist/css/lib/jquery-ui.custom.css",
"css:bootstrap": "csso node_modules/bootstrap/dist/css/bootstrap.min.css -o dist/css/lib/bootstrap.min.css",
"js": "mkdir -p dist/js/lib && npm run js:background && npm run js:options && npm run js:popup",
"js:background": "browserify $npm_package_config_browserify -o dist/js/background.js src/js/background.js",
"js:options": "browserify $npm_package_config_browserify -o dist/js/options.js src/js/options.js",
"js:popup": "browserify $npm_package_config_browserify -o dist/js/popup.js src/js/popup.js",
"copy": "npm run copy:manifest && npm run copy:icons && npm run copy:fonts && npm run copy:jquery && npm run copy:jquery-ui && npm run copy:bootstrap",
"copy:manifest": "cp src/manifest.json dist",
"copy:icons": "mkdir -p dist/icons && cp src/icons/*.png dist/icons",
"copy:fonts": "mkdir -p dist/fonts && cp node_modules/bootstrap/dist/fonts/* dist/fonts",
"copy:jquery": "cp node_modules/jquery/dist/jquery.min.js dist/js/lib",
"copy:jquery-ui": "cp src/js/lib/jquery-ui.custom.min.js dist/js/lib",
"copy:bootstrap": "cp node_modules/bootstrap/dist/js/bootstrap.min.js dist/js/lib"
},
"repository": {
"type": "git",
"url": "git://github.com/1000ch/pinput.git"
},
"keywords": [
"pinboard"
],
"author": {
"name": "1000ch",
"email": "shogo.sensui@gmail.com",
"url": "https://github.com/1000ch"
},
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/1000ch/pinput/issues"
},
"dependencies": {
"bootstrap": "^3.3.6",
"jquery": "^2.2.4",
"jquery-ui": "^1.11.4"
},
"devDependencies": {
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babelify": "^7.3.0",
"browserify": "^16.2.3",
"csso-cli": "^1.0.0",
"html-minifier": "^4.0.0"
}
}