mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-19 12:52:11 +01:00
New: component.json file for Bower ( http://twitter.github.com/bower/ ) support. Both component.json and package.json are generated with the correct version number in them.
This commit is contained in:
parent
e25b377ee8
commit
55adb2f3d5
11
component.json
Normal file
11
component.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "DataTables",
|
||||
"version": "1.9.4.dev",
|
||||
"main": [
|
||||
"./media/js/jquery.dataTables.js",
|
||||
"./media/css/jquery.dataTables.css",
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": "~1.8.0"
|
||||
}
|
||||
}
|
66
package.json
66
package.json
@ -1,34 +1,34 @@
|
||||
{
|
||||
"name": "DataTables",
|
||||
"version": "1.9.2",
|
||||
"title": "DataTables",
|
||||
"author": {
|
||||
"name": "Allan Jardine",
|
||||
"url": "http://sprymedia.co.uk"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
"type": "BSD",
|
||||
"url": "http://datatables.net/license_bsd"
|
||||
},
|
||||
{
|
||||
"type": "GPLv2",
|
||||
"url": "http://datatables.net/license_gpl2"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": "1.3 - 1.7"
|
||||
},
|
||||
"description": "DataTables enhances HTML tables with the ability to sort, filter and page the data in the table very easily. It provides a comprehensive API and set of configuration options, allowing you to consume data from virtually any data source.",
|
||||
"keywords": [
|
||||
"DataTables",
|
||||
"DataTable",
|
||||
"table",
|
||||
"grid",
|
||||
"filter",
|
||||
"sort",
|
||||
"page",
|
||||
"internationalisable"
|
||||
],
|
||||
"homepage": "http://datatables.net"
|
||||
}
|
||||
"name": "DataTables",
|
||||
"version": "1.9.4.dev",
|
||||
"title": "DataTables",
|
||||
"author": {
|
||||
"name": "Allan Jardine",
|
||||
"url": "http://sprymedia.co.uk"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
"type": "BSD",
|
||||
"url": "http://datatables.net/license_bsd"
|
||||
},
|
||||
{
|
||||
"type": "GPLv2",
|
||||
"url": "http://datatables.net/license_gpl2"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": "1.4 - 1.8"
|
||||
},
|
||||
"description": "DataTables enhances HTML tables with the ability to sort, filter and page the data in the table very easily. It provides a comprehensive API and set of configuration options, allowing you to consume data from virtually any data source.",
|
||||
"keywords": [
|
||||
"DataTables",
|
||||
"DataTable",
|
||||
"table",
|
||||
"grid",
|
||||
"filter",
|
||||
"sort",
|
||||
"page",
|
||||
"internationalisable"
|
||||
],
|
||||
"homepage": "http://datatables.net"
|
||||
}
|
||||
|
@ -99,6 +99,65 @@ if [ "$CMD" != "debug" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Back to DataTables root dir
|
||||
cd ../..
|
||||
|
||||
#
|
||||
# Packaging files
|
||||
#
|
||||
cat <<EOF > package.json
|
||||
{
|
||||
"name": "DataTables",
|
||||
"version": "${VERSION}",
|
||||
"title": "DataTables",
|
||||
"author": {
|
||||
"name": "Allan Jardine",
|
||||
"url": "http://sprymedia.co.uk"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
"type": "BSD",
|
||||
"url": "http://datatables.net/license_bsd"
|
||||
},
|
||||
{
|
||||
"type": "GPLv2",
|
||||
"url": "http://datatables.net/license_gpl2"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": "1.4 - 1.8"
|
||||
},
|
||||
"description": "DataTables enhances HTML tables with the ability to sort, filter and page the data in the table very easily. It provides a comprehensive API and set of configuration options, allowing you to consume data from virtually any data source.",
|
||||
"keywords": [
|
||||
"DataTables",
|
||||
"DataTable",
|
||||
"table",
|
||||
"grid",
|
||||
"filter",
|
||||
"sort",
|
||||
"page",
|
||||
"internationalisable"
|
||||
],
|
||||
"homepage": "http://datatables.net"
|
||||
}
|
||||
EOF
|
||||
|
||||
cat <<EOF > component.json
|
||||
{
|
||||
"name": "DataTables",
|
||||
"version": "${VERSION}",
|
||||
"main": [
|
||||
"./media/js/jquery.dataTables.js",
|
||||
"./media/css/jquery.dataTables.css",
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": "~1.8.0"
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
|
||||
echo " Done\n"
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user