Tests: migrate testing infrastructure to minimal dependencies
[jquery.git] / package.json
blob40cafcc11e3f530b8616b8d681352fc80ea1c4b4
2   "name": "jquery",
3   "title": "jQuery",
4   "description": "JavaScript library for DOM operations",
5   "version": "4.0.0-pre",
6   "type": "module",
7   "exports": {
8     ".": {
9       "node": {
10         "module": "./dist-module/jquery.module.js",
11         "import": "./dist-module/jquery.node-module-wrapper.js",
12         "require": "./dist/jquery.js"
13       },
14       "production": "./dist-module/jquery.module.min.js",
15       "development": "./dist-module/jquery.module.js",
16       "script": "./dist/jquery.min.js",
17       "default": "./dist-module/jquery.module.min.js"
18     },
19     "./slim": {
20       "node": {
21         "module": "./dist-module/jquery.slim.module.js",
22         "import": "./dist-module/jquery.node-module-wrapper.slim.js",
23         "require": "./dist/jquery.slim.js"
24       },
25       "production": "./dist-module/jquery.slim.module.min.js",
26       "development": "./dist-module/jquery.slim.module.js",
27       "script": "./dist/jquery.slim.min.js",
28       "default": "./dist-module/jquery.slim.module.min.js"
29     },
30     "./factory": {
31       "node": "./dist/jquery.factory.js",
32       "default": "./dist-module/jquery.factory.module.js"
33     },
34     "./factory-slim": {
35       "node": "./dist/jquery.factory.slim.js",
36       "default": "./dist-module/jquery.factory.slim.module.js"
37     },
38     "./src/*.js": "./src/*.js"
39   },
40   "main": "dist/jquery.js",
41   "scripts": {
42     "authors:check": "node -e \"require('./build/release/authors.js').checkAuthors()\"",
43     "authors:update": "node -e \"require('./build/release/authors.js').updateAuthors()\"",
44     "babel:tests": "babel test/data/core/jquery-iterability-transpiled-es6.js --out-file test/data/core/jquery-iterability-transpiled.js",
45     "build": "node ./build/command.js",
46     "build:all": "node -e \"require('./build/tasks/build.js').buildDefaultFiles()\"",
47     "build:main": "node -e \"require('./build/tasks/build.js').build()\"",
48     "jenkins": "npm run pretest && npm run test:browserless",
49     "lint:dev": "eslint --cache .",
50     "lint:json": "jsonlint --quiet package.json",
51     "lint": "concurrently -r \"npm:lint:dev\" \"npm:lint:json\"",
52     "npmcopy": "node build/tasks/npmcopy.js",
53     "prepare": "husky install",
54     "pretest": "npm run qunit-fixture && npm run babel:tests && npm run npmcopy",
55     "qunit-fixture": "node build/tasks/qunit-fixture.js",
56     "start": "node -e \"require('./build/tasks/build.js').buildDefaultFiles({ watch: true })\"",
57     "test:browser": "npm run pretest && npm run build:main && npm run test:unit -- -b chrome -b firefox --no-isolate -h",
58     "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",
59     "test:jsdom": "npm run pretest && npm run build:main && npm run test:unit -- -b jsdom -m basic",
60     "test:node_smoke_tests": "npm run pretest && npm run build:all && node build/tasks/node_smoke_tests.js",
61     "test:promises_aplus": "npm run build:main && node build/tasks/promises_aplus_tests.js",
62     "test:firefox": "npm run pretest && npm run build:main && npm run test:unit -- -v -b firefox --no-isolate -h",
63     "test:safari": "npm run pretest && npm run build:main && npm run test:unit -- -b safari --no-isolate",
64     "test:server": "node test/runner/server.js",
65     "test:esm": "npm run pretest && npm run build:main && npm run test:unit -- --esm --no-isolate -h",
66     "test:no-deprecated": "npm run pretest && npm run build -- -e deprecated && npm run test:unit -- --no-isolate -h",
67     "test:selector-native": "npm run pretest && npm run build -- -e selector && npm run test:unit -- --no-isolate -h",
68     "test:slim": "npm run pretest && npm run build -- --slim && npm run test:unit -- --no-isolate -h",
69     "test:unit": "node test/runner/command.js",
70     "test": "npm run build:all && npm run lint && npm run test:browserless && npm run test:browser && npm run test:esmodules && npm run test:slim && npm run test:no-deprecated && npm run test:selector-native"
71   },
72   "homepage": "https://jquery.com",
73   "author": {
74     "name": "OpenJS Foundation and other contributors",
75     "url": "https://github.com/jquery/jquery/blob/main/AUTHORS.txt"
76   },
77   "repository": {
78     "type": "git",
79     "url": "https://github.com/jquery/jquery.git"
80   },
81   "keywords": [
82     "jquery",
83     "javascript",
84     "browser",
85     "library"
86   ],
87   "bugs": {
88     "url": "https://github.com/jquery/jquery/issues"
89   },
90   "license": "MIT",
91   "devDependencies": {
92     "@babel/cli": "7.23.9",
93     "@babel/core": "7.23.9",
94     "@babel/plugin-transform-for-of": "7.23.6",
95     "@prantlf/jsonlint": "14.0.3",
96     "@swc/core": "1.4.2",
97     "@types/selenium-webdriver": "4.1.21",
98     "body-parser": "1.20.2",
99     "bootstrap": "5.3.3",
100     "browserstack-local": "1.5.5",
101     "chalk": "5.3.0",
102     "colors": "1.4.0",
103     "commitplease": "3.2.0",
104     "concurrently": "8.2.2",
105     "core-js-bundle": "3.36.0",
106     "eslint": "8.56.0",
107     "eslint-config-jquery": "3.0.2",
108     "eslint-plugin-import": "2.29.1",
109     "exit-hook": "4.0.0",
110     "express": "4.18.2",
111     "express-body-parser-error-handler": "1.0.7",
112     "globals": "14.0.0",
113     "husky": "8.0.3",
114     "jsdom": "24.0.0",
115     "multiparty": "4.2.3",
116     "native-promise-only": "0.8.1",
117     "promises-aplus-tests": "2.1.2",
118     "q": "1.5.1",
119     "qunit": "2.20.1",
120     "raw-body": "2.5.2",
121     "requirejs": "2.3.6",
122     "rollup": "2.79.1",
123     "selenium-webdriver": "4.18.1",
124     "sinon": "9.2.4",
125     "yargs": "17.7.2"
126   },
127   "commitplease": {
128     "nohook": true,
129     "components": [
130       "Docs",
131       "Tests",
132       "Build",
133       "Support",
134       "Release",
135       "Core",
136       "Ajax",
137       "Attributes",
138       "Callbacks",
139       "CSS",
140       "Data",
141       "Deferred",
142       "Deprecated",
143       "Dimensions",
144       "Effects",
145       "Event",
146       "Manipulation",
147       "Offset",
148       "Queue",
149       "Selector",
150       "Serialize",
151       "Traversing",
152       "Wrap"
153     ],
154     "markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|^(refs?)",
155     "ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])"
156   }