mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
95a4c94b81
- reuse BrowserStack workers. - add support for "latest" and "latest-1" in browser version filters - add support for specifying non-final browser versions, such as beta versions - more accurate eslint for files in test/runner - switched `--no-isolate` command flag to `--isolate`. Now that browser instances are shared, it made more sense to me to default to no isolation unless specified. This turned out to be cleaner because the only place we isolate is in browserstack.yml. - fixed an issue with retries where it wasn't always waiting for the retried test run - enable strict mode in test yargs command
158 lines
5.8 KiB
JSON
158 lines
5.8 KiB
JSON
{
|
|
"name": "jquery",
|
|
"title": "jQuery",
|
|
"description": "JavaScript library for DOM operations",
|
|
"version": "4.0.0-pre",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"node": {
|
|
"module": "./dist-module/jquery.module.js",
|
|
"import": "./dist-module/jquery.node-module-wrapper.js",
|
|
"require": "./dist/jquery.js"
|
|
},
|
|
"production": "./dist-module/jquery.module.min.js",
|
|
"development": "./dist-module/jquery.module.js",
|
|
"script": "./dist/jquery.min.js",
|
|
"default": "./dist-module/jquery.module.min.js"
|
|
},
|
|
"./slim": {
|
|
"node": {
|
|
"module": "./dist-module/jquery.slim.module.js",
|
|
"import": "./dist-module/jquery.node-module-wrapper.slim.js",
|
|
"require": "./dist/jquery.slim.js"
|
|
},
|
|
"production": "./dist-module/jquery.slim.module.min.js",
|
|
"development": "./dist-module/jquery.slim.module.js",
|
|
"script": "./dist/jquery.slim.min.js",
|
|
"default": "./dist-module/jquery.slim.module.min.js"
|
|
},
|
|
"./factory": {
|
|
"node": "./dist/jquery.factory.js",
|
|
"default": "./dist-module/jquery.factory.module.js"
|
|
},
|
|
"./factory-slim": {
|
|
"node": "./dist/jquery.factory.slim.js",
|
|
"default": "./dist-module/jquery.factory.slim.module.js"
|
|
},
|
|
"./src/*.js": "./src/*.js"
|
|
},
|
|
"main": "dist/jquery.js",
|
|
"scripts": {
|
|
"authors:check": "node -e \"require('./build/release/authors.js').checkAuthors()\"",
|
|
"authors:update": "node -e \"require('./build/release/authors.js').updateAuthors()\"",
|
|
"babel:tests": "babel test/data/core/jquery-iterability-transpiled-es6.js --out-file test/data/core/jquery-iterability-transpiled.js",
|
|
"build": "node ./build/command.js",
|
|
"build:all": "node -e \"require('./build/tasks/build.js').buildDefaultFiles()\"",
|
|
"build:main": "node -e \"require('./build/tasks/build.js').build()\"",
|
|
"jenkins": "npm run build:all",
|
|
"lint:dev": "eslint --cache .",
|
|
"lint:json": "jsonlint --quiet package.json",
|
|
"lint": "concurrently -r \"npm:lint:dev\" \"npm:lint:json\"",
|
|
"npmcopy": "node build/tasks/npmcopy.js",
|
|
"prepare": "husky install",
|
|
"pretest": "npm run qunit-fixture && npm run babel:tests && npm run npmcopy",
|
|
"qunit-fixture": "node build/tasks/qunit-fixture.js",
|
|
"start": "node -e \"require('./build/tasks/build.js').buildDefaultFiles({ watch: true })\"",
|
|
"test:browser": "npm run pretest && npm run build:main && npm run test:unit -- -b chrome -b firefox -h",
|
|
"test:browserless": "npm run pretest && npm run build:all && node build/tasks/node_smoke_tests.js && node build/tasks/promises_aplus_tests.js && npm run test:unit -- -b jsdom -m basic",
|
|
"test:jsdom": "npm run pretest && npm run build:main && npm run test:unit -- -b jsdom -m basic",
|
|
"test:node_smoke_tests": "npm run pretest && npm run build:all && node build/tasks/node_smoke_tests.js",
|
|
"test:promises_aplus": "npm run build:main && node build/tasks/promises_aplus_tests.js",
|
|
"test:firefox": "npm run pretest && npm run build:main && npm run test:unit -- -v -b firefox -h",
|
|
"test:safari": "npm run pretest && npm run build:main && npm run test:unit -- -b safari",
|
|
"test:server": "node test/runner/server.js",
|
|
"test:esm": "npm run pretest && npm run build:main && npm run test:unit -- --esm -h",
|
|
"test:no-deprecated": "npm run pretest && npm run build -- -e deprecated && npm run test:unit -- -h",
|
|
"test:selector-native": "npm run pretest && npm run build -- -e selector && npm run test:unit -- -h",
|
|
"test:slim": "npm run pretest && npm run build -- --slim && npm run test:unit -- -h",
|
|
"test:unit": "node test/runner/command.js",
|
|
"test": "npm run build:all && npm run lint && npm run test:browserless && npm run test:browser && npm run test:esm && npm run test:slim && npm run test:no-deprecated && npm run test:selector-native"
|
|
},
|
|
"homepage": "https://jquery.com",
|
|
"author": {
|
|
"name": "OpenJS Foundation and other contributors",
|
|
"url": "https://github.com/jquery/jquery/blob/main/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",
|
|
"devDependencies": {
|
|
"@babel/cli": "7.23.9",
|
|
"@babel/core": "7.23.9",
|
|
"@babel/plugin-transform-for-of": "7.23.6",
|
|
"@prantlf/jsonlint": "14.0.3",
|
|
"@swc/core": "1.4.2",
|
|
"@types/selenium-webdriver": "4.1.21",
|
|
"body-parser": "1.20.2",
|
|
"bootstrap": "5.3.3",
|
|
"browserstack-local": "1.5.5",
|
|
"chalk": "5.3.0",
|
|
"colors": "1.4.0",
|
|
"commitplease": "3.2.0",
|
|
"concurrently": "8.2.2",
|
|
"core-js-bundle": "3.36.0",
|
|
"eslint": "8.56.0",
|
|
"eslint-config-jquery": "3.0.2",
|
|
"eslint-plugin-import": "2.29.1",
|
|
"exit-hook": "4.0.0",
|
|
"express": "4.18.2",
|
|
"express-body-parser-error-handler": "1.0.7",
|
|
"globals": "14.0.0",
|
|
"husky": "8.0.3",
|
|
"jsdom": "24.0.0",
|
|
"multiparty": "4.2.3",
|
|
"native-promise-only": "0.8.1",
|
|
"promises-aplus-tests": "2.1.2",
|
|
"q": "1.5.1",
|
|
"qunit": "2.20.1",
|
|
"raw-body": "2.5.2",
|
|
"requirejs": "2.3.6",
|
|
"rollup": "2.79.1",
|
|
"selenium-webdriver": "4.18.1",
|
|
"sinon": "9.2.4",
|
|
"yargs": "17.7.2"
|
|
},
|
|
"commitplease": {
|
|
"nohook": true,
|
|
"components": [
|
|
"Docs",
|
|
"Tests",
|
|
"Build",
|
|
"Support",
|
|
"Release",
|
|
"Core",
|
|
"Ajax",
|
|
"Attributes",
|
|
"Callbacks",
|
|
"CSS",
|
|
"Data",
|
|
"Deferred",
|
|
"Deprecated",
|
|
"Dimensions",
|
|
"Effects",
|
|
"Event",
|
|
"Manipulation",
|
|
"Offset",
|
|
"Queue",
|
|
"Selector",
|
|
"Serialize",
|
|
"Traversing",
|
|
"Wrap"
|
|
],
|
|
"markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|^(refs?)",
|
|
"ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])"
|
|
}
|
|
}
|