102 lines
4.2 KiB
JSON
102 lines
4.2 KiB
JSON
|
|
{
|
||
|
|
"name": "jquery",
|
||
|
|
"title": "jQuery",
|
||
|
|
"description": "JavaScript library for DOM operations",
|
||
|
|
"version": "3.1.0",
|
||
|
|
"main": "dist/jquery.js",
|
||
|
|
"homepage": "https://jquery.com",
|
||
|
|
"author": {
|
||
|
|
"name": "jQuery Foundation and other contributors",
|
||
|
|
"url": "https://github.com/jquery/jquery/blob/3.1.0/AUTHORS.txt"
|
||
|
|
},
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "https://github.com/jquery/jquery.git"
|
||
|
|
},
|
||
|
|
"keywords": [
|
||
|
|
"jquery",
|
||
|
|
"javascript",
|
||
|
|
"browser",
|
||
|
|
"library"
|
||
|
|
],
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/jquery/jquery/issues"
|
||
|
|
},
|
||
|
|
"license": "MIT",
|
||
|
|
"dependencies": {},
|
||
|
|
"devDependencies": {
|
||
|
|
"babel-preset-es2015": "6.6.0",
|
||
|
|
"commitplease": "2.3.1",
|
||
|
|
"core-js": "2.2.2",
|
||
|
|
"cross-spawn": "2.2.3",
|
||
|
|
"eslint-config-jquery": "0.1.6",
|
||
|
|
"grunt": "1.0.1",
|
||
|
|
"grunt-babel": "6.0.0",
|
||
|
|
"grunt-cli": "1.2.0",
|
||
|
|
"grunt-compare-size": "0.4.2",
|
||
|
|
"grunt-contrib-uglify": "1.0.1",
|
||
|
|
"grunt-contrib-watch": "1.0.0",
|
||
|
|
"grunt-eslint": "18.1.0",
|
||
|
|
"grunt-git-authors": "3.2.0",
|
||
|
|
"grunt-jsonlint": "1.0.7",
|
||
|
|
"grunt-newer": "1.2.0",
|
||
|
|
"grunt-npmcopy": "0.1.0",
|
||
|
|
"gzip-js": "0.3.2",
|
||
|
|
"husky": "0.11.4",
|
||
|
|
"insight": "0.8.1",
|
||
|
|
"jsdom": "5.6.1",
|
||
|
|
"load-grunt-tasks": "3.5.0",
|
||
|
|
"native-promise-only": "0.8.1",
|
||
|
|
"promises-aplus-tests": "2.1.1",
|
||
|
|
"q": "1.4.1",
|
||
|
|
"qunit-assert-step": "1.0.3",
|
||
|
|
"qunitjs": "1.23.1",
|
||
|
|
"requirejs": "2.2.0",
|
||
|
|
"sinon": "1.17.3",
|
||
|
|
"sizzle": "2.3.0",
|
||
|
|
"strip-json-comments": "2.0.1",
|
||
|
|
"testswarm": "1.1.0"
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"build": "npm install && grunt",
|
||
|
|
"start": "grunt watch",
|
||
|
|
"test": "grunt && grunt test",
|
||
|
|
"precommit": "grunt precommit_lint"
|
||
|
|
},
|
||
|
|
"commitplease": {
|
||
|
|
"components": [
|
||
|
|
"Docs",
|
||
|
|
"Tests",
|
||
|
|
"Build",
|
||
|
|
"Support",
|
||
|
|
"Release",
|
||
|
|
"Core",
|
||
|
|
"Ajax",
|
||
|
|
"Attributes",
|
||
|
|
"Callbacks",
|
||
|
|
"CSS",
|
||
|
|
"Data",
|
||
|
|
"Deferred",
|
||
|
|
"Deprecated",
|
||
|
|
"Dimensions",
|
||
|
|
"Effects",
|
||
|
|
"Event",
|
||
|
|
"Manipulation",
|
||
|
|
"Offset",
|
||
|
|
"Queue",
|
||
|
|
"Selector",
|
||
|
|
"Serialize",
|
||
|
|
"Traversing",
|
||
|
|
"Wrap"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"readme": "# jQuery\n\n> jQuery is a fast, small, and feature-rich JavaScript library.\n\nFor information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/).\nFor source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).\n\n## Including jQuery\n\nBelow are some of the most common ways to include jQuery.\n\n### Browser\n\n#### Script tag\n\n```html\n<script src=\"https://code.jquery.com/jquery-2.2.0.min.js\"></script>\n```\n\n#### Babel\n\n[Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.\n\n```js\nimport $ from \"jquery\";\n```\n\n#### Browserify/Webpack\n\nThere are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this...\n\n```js\nvar $ = require(\"jquery\");\n```\n\n#### AMD (Asynchronous Module Definition)\n\nAMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html).\n\n```js\ndefine([\"jquery\"], function($) {\n\n});\n```\n\n### Node\n\nTo include jQuery in [Node](nodejs.org), first install with npm.\n\n```sh\nnpm install jquery\n```\n\nFor jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes.\n\n```js\nrequire(\"jsdom\").env(\"\", function(err, window) {\n\tif (err) {\n\t\tconsole.error(err);\n\t\treturn;\n\t}\n\n\tvar $ = require(\"jquery\")(window);\n});\n```\n",
|
||
|
|
"readmeFilename": "README.md",
|
||
|
|
"_id": "jquery@3.1.0",
|
||
|
|
"dist": {
|
||
|
|
"shasum": "681aa52283dfc0e23f287db77bec281447ae4c0f"
|
||
|
|
},
|
||
|
|
"_from": "jquery@",
|
||
|
|
"_resolved": "https://registry.npmjs.org/jquery/-/jquery-3.1.0.tgz"
|
||
|
|
}
|