-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
61 lines (61 loc) · 2.07 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
{
"name": "@ideaconsult/solr-jsx",
"version": "0.16.2",
"description": "A lightweight, JavaScript engine for building Solr requests",
"keywords": [
"solr",
"requests",
"extensible",
"flexible"
],
"homepage": "https://github.com/ideaconsult/SolrJsX/wiki/",
"license": "MIT",
"author": {
"name": "Ivan (Jonan) Georgiev",
"homepage": "http://jonan.info/"
},
"repository": {
"type": "git",
"url": "https://github.com/ideaconsult/SolrJsX"
},
"main": "solr-jsx.js",
"browser": [
"solr-jsx.min.js",
"solr-jsx.widgets.min.js"
],
"jspm": {
"main": "solr-jsx.js",
"shim": {
"solr-jsx": {
"exports": "Solr"
}
},
"files": [
"src",
"widgets"
],
"buildConfig": {
"uglify": true
}
},
"spm": {
"main": "solr-jsx.js"
},
"dependencies": {
"@thejonan/as-sys": "0.13.3"
},
"devDependencies": {
"grunt": "^1.3.0",
"jasmine-core": "^3.6.0",
"jasmine-node": "^3.0.0",
"smash": "latest",
"uglify-js": "^3.11.5"
},
"scripts": {
"pretest": "rm -f solr-jsx.* && export VERSION=`node -e 'console.log(require(\"./package.json\").version)'` && sed -E -e \"s/\\{\\{VERSION\\}\\}/$VERSION/\" src/Core.js > src/start.js && smash src/start.js > solr-jsx.js && rm -rf src/start.js && rsync node_modules/jasmine-core/lib/jasmine-core/*.js test/libs && rsync node_modules/jasmine-core/lib/jasmine-core/*.css test/libs && rsync node_modules/underscore/*.js test/libs && rsync node_modules/@thejonan/as-sys/as-sys*.js test/libs",
"test": "jasmine-node test && uglifyjs solr-jsx.js -mc --ie8 --keep-fnames -o solr-jsx.min.js && npm run-script widgets",
"widgets": "smash widgets/Base.js > solr-jsx.widgets.js && uglifyjs solr-jsx.widgets.js -mc --ie8 --keep-fnames -o solr-jsx.widgets.min.js",
"prepare": "npm test && chmod a-w solr-jsx.*.js && zip solr-jsx.zip LICENSE solr-jsx.*.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" ${VERSION} && git push --tags"
}
}