-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
64 lines (64 loc) · 2.51 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
{
"name": "@ideaconsult/jtox-kit",
"version": "2.4.3",
"description": "A JavaScript client library of chem-informatics related widgets, components, etc.",
"keywords": [
"chem-informatics",
"ambit",
"solr",
"toxicity",
"pharmaceutical",
"chemistry"
],
"homepage": "https://io.github.com/ideaconsult/jToxKit/wiki",
"license": "MIT",
"author": {
"name": "Ivan (Jonan) Georgiev",
"homepage": "http://jonan.info/"
},
"repository": {
"type": "git",
"url": "https://github.com/ideaconsult/jToxKit"
},
"main": "www/jtox-kit.js",
"browser": "www/jtox-kit.full.js",
"jspm": {
"main": "www/jtox-kit.js",
"shim": {
"jtox-kit": {
"exports": "jToxKit"
}
},
"files": [
"core/*.js",
"widgets/*.js",
"kits/*.js"
],
"buildConfig": {
"uglify": true
}
},
"spm": {
"main": "www/jtox-kit.js"
},
"dependencies": {
"@ideaconsult/solr-jsx": "^0.16.2",
"@thejonan/as-sys": "0.13.3",
"xlsx-datafill": "^1.0.1",
"xlsx-populate": "^1.21.0"
},
"devDependencies": {
"jasmine-core": "latest",
"jasmine-node": "latest",
"smash": "latest",
"uglify-js": "^3.9.4"
},
"scripts": {
"pretest": "rm -f www/jtox-kit* && sed -E -e \"s/\\{\\{VERSION\\}\\}/${npm_package_version}/\" core/Core.js > core/start.js && smash core/start.js > www/jtox-kit.js && rm -rf core/start.js && rsync node_modules/jasmine-core/lib/jasmine-core/*.js tests/libs && rsync node_modules/jasmine-core/lib/jasmine-core/*.css tests/libs && rsync node_modules/underscore/*.js tests/libs && rsync node_modules/@thejonan/as-sys/as-sys*.js libs && rsync node_modules/@ideaconsult/solr-jsx/solr-jsx*.js libs",
"test": "jasmine-node tests && uglifyjs www/jtox-kit.js -mc --ie8 --keep-fnames -o www/jtox-kit.min.js && npm run-script widgets && npm run-script kits",
"widgets": "smash widgets/Base.js > www/jtox-kit.widgets.js && uglifyjs www/jtox-kit.widgets.js -mc --ie8 --keep-fnames -o www/jtox-kit.widgets.min.js",
"kits": "smash kits/js/*.js > www/jtox-kit.kits.js && cat kits/*.html | bin/html2js.pl --trim >> www/jtox-kit.kits.js && uglifyjs www/jtox-kit.kits.js -mc --ie8 --keep-fnames -o www/jtox-kit.kits.min.js && smash kits/css/*.css > www/jtox-kit.css",
"prepare": "npm test && pushd www && chmod a-w jtox-kit*.js && zip jtox-kit.zip ../LICENSE ../README.md jtox-kit*.js jtox-kit*.css && popd",
"postpublish": "git push && git tag -am \"Release ${npm_package_version}.\" ${npm_package_version} && git push --tags"
}
}