-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
66 lines (63 loc) · 3.06 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
{
"name": "dexjs",
"description": "dexjs : dexvis javascript visualization component library.",
"version": "0.1.0",
"license": "Apache-2.0",
"keywords": [
"chart",
"charting",
"dataviz",
"visualization",
"c3",
"d3"
],
"homepage": "http://dexvis.com",
"email": "[email protected]",
"url": "http://dexvis.wordpress.com",
"files": [
"src/dex.js"
],
"main": "dex",
"repository": {
"type": "git",
"url": "https://www.github.com/PatMartin/dexjs.git"
},
"dependencies": {
"jquery": "latest",
"underscore": "latest",
"jqueryui": "latest"
},
"devDependencies": {
"browserify": "latest",
"jasmine": "^2.5.2",
"jsdoc": "^3.4.3",
"jshint": "latest",
"jslint": "latest",
"minami": "^1.1.1",
"watch": "latest"
},
"scripts": {
"lint": "jslint src/*.js src/*/*.js src/*/*/*.js src/*/*/*/*.js",
"docs-old": "jsdoc -c jsdoc-conf.json",
"documentation": "documentation build -o docs -f html src/dex.js",
"documentation:md": "documentation build -f md src/dex.js > docs/dexjs.md",
"dex:jquery:css": "shx cat css/jquery/*.css > dist/dex-jquery.css && shx cat dist/dex-jquery.css | cssmin > dist/dex-jquery.min.css",
"dex:bootstrap:css": "shx cat css/bootstrap/*.css > dist/dex-bootstrap.css && shx cat dist/dex-bootstrap.css | cssmin > dist/dex-bootstrap.min.css",
"dex:css": "shx cat css/dex/*.css > dist/dex.css && shx cat dist/dex.css | cssmin > dist/dex.min.css",
"css": "npm run dex:css & npm run dex:jquery:css & npm run dex:bootstrap:css",
"dex:libs:js": "browserify src/dex-libs.js --standalone dexlibs > dist/dex-libs.js && shx cat dist/dex-libs.js | uglifyjs > dist/dex-libs.min.js",
"dex:jquery:js": "browserify src/dex-jquery.js --standalone dexjquery > dist/dex-jquery.js && shx cat dist/dex-jquery.js | uglifyjs > dist/dex-jquery.min.js",
"dex:bootstrap:js": "browserify src/dex-bootstrap.js --standalone dexbootstrap > dist/dex-bootstrap.js && shx cat dist/dex-bootstrap.js | uglifyjs > dist/dex-bootstrap.min.js",
"dex:js": "browserify src/dex.js --standalone dex > dist/dex.js && shx cat dist/dex.js | uglifyjs > dist/dex.min.js",
"js" : "npm-run-all --parallel dex:js dex:libs:js dex:jquery:js dex:bootstrap:js",
"build": "npm-run-all --parallel js css",
"build and deploy": "npm run build && npm run deploy",
"deploy": "npm run deploy-site & npm run deploy-dex",
"deploy-site": "cp dist/*.js dist/*.css C:/sites/dexjs-site/static/js",
"deploy-dex": "cp dist/*.js dist/*.css C:/dex2ws/Dex/javascript/dexjs/latest",
"watch": "shx echo QUICK WATCH IS BUILDING JS SOURCE... && watch \"npm run build && echo DONE...\" css src lib",
"watch-css": "shx echo QUICK WATCH IS BUILDING CSS... && watch \"npm run css && echo DONE...\" css",
"watch-autodeploy": "shx echo AUTODEPLOY WATCH IS BUILDING JS SOURCE... && watch \"npm run build && npm run deploy && echo DONE...\" css src lib",
"watch-quick": "shx echo QUICK WATCH IS BUILDING JS SOURCE... && watch \"browserify src/dex.js --standalone dex > dist/dex.js && echo DONE\" src"
}
}