Core: Move the factory to separate exports
[jquery.git] / package.json
blob29e6f90e56b1a85a80b7afc052698d8c312cae87
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     "babel:tests": "babel test/data/core/jquery-iterability-transpiled-es6.js --out-file test/data/core/jquery-iterability-transpiled.js",
43     "build": "node ./build/command.js",
44     "build:all": "node -e \"require('./build/tasks/build.js').buildDefaultFiles()\"",
45     "build:main": "node -e \"require('./build/tasks/build.js').build()\"",
46     "jenkins": "npm run test:browserless",
47     "lint:dev": "eslint --cache .",
48     "lint:json": "jsonlint --quiet package.json",
49     "lint": "concurrently -r \"npm:lint:dev\" \"npm:lint:json\"",
50     "npmcopy": "node build/tasks/npmcopy.js",
51     "prepare": "husky install",
52     "pretest": "npm run qunit-fixture && npm run babel:tests && npm run npmcopy",
53     "qunit-fixture": "node build/tasks/qunit-fixture.js",
54     "start": "node -e \"require('./build/tasks/build.js').buildDefaultFiles({ watch: true })\"",
55     "test:browserless": "npm run test:node_smoke_tests && npm run test:promises_aplus && npm run test:jsdom",
56     "test:browser": "npm run build:all && grunt karma:main",
57     "test:esmodules": "npm run build:main && grunt karma:esmodules",
58     "test:jsdom": "npm run build:main && grunt test:jsdom",
59     "test:no-deprecated": "npm run build -- -e deprecated && grunt karma:main",
60     "test:selector-native": "npm run build -- -e selector && grunt karma:main",
61     "test:slim": "npm run build -- --slim && grunt karma:main",
62     "test:node_smoke_tests": "npm run build:all && node build/tasks/node_smoke_tests.js",
63     "test:promises_aplus": "npm run build:main && node build/tasks/promises_aplus_tests.js",
64     "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"
65   },
66   "homepage": "https://jquery.com",
67   "author": {
68     "name": "OpenJS Foundation and other contributors",
69     "url": "https://github.com/jquery/jquery/blob/main/AUTHORS.txt"
70   },
71   "repository": {
72     "type": "git",
73     "url": "https://github.com/jquery/jquery.git"
74   },
75   "keywords": [
76     "jquery",
77     "javascript",
78     "browser",
79     "library"
80   ],
81   "bugs": {
82     "url": "https://github.com/jquery/jquery/issues"
83   },
84   "license": "MIT",
85   "devDependencies": {
86     "@babel/cli": "7.22.9",
87     "@babel/core": "7.10.5",
88     "@babel/plugin-transform-for-of": "7.10.4",
89     "@prantlf/jsonlint": "14.0.3",
90     "@swc/core": "1.3.78",
91     "bootstrap": "5.3.0",
92     "chalk": "5.3.0",
93     "colors": "1.4.0",
94     "commitplease": "3.2.0",
95     "concurrently": "8.2.0",
96     "core-js-bundle": "3.6.5",
97     "eslint": "8.44.0",
98     "eslint-config-jquery": "3.0.1",
99     "eslint-plugin-import": "2.27.5",
100     "express": "4.18.2",
101     "globals": "13.20.0",
102     "grunt": "1.5.3",
103     "grunt-cli": "1.4.3",
104     "grunt-git-authors": "3.2.0",
105     "grunt-karma": "4.0.2",
106     "husky": "8.0.3",
107     "jsdom": "19.0.0",
108     "karma": "6.4.1",
109     "karma-browserstack-launcher": "1.6.0",
110     "karma-chrome-launcher": "3.1.1",
111     "karma-firefox-launcher": "2.1.2",
112     "karma-ie-launcher": "1.0.0",
113     "karma-jsdom-launcher": "12.0.0",
114     "karma-qunit": "4.1.2",
115     "karma-webkit-launcher": "2.1.0",
116     "load-grunt-tasks": "5.1.0",
117     "multiparty": "4.2.3",
118     "native-promise-only": "0.8.1",
119     "playwright-webkit": "1.30.0",
120     "promises-aplus-tests": "2.1.2",
121     "q": "1.5.1",
122     "qunit": "2.10.1",
123     "raw-body": "2.4.1",
124     "requirejs": "2.3.6",
125     "rimraf": "3.0.2",
126     "rollup": "2.21.0",
127     "sinon": "7.3.1",
128     "strip-json-comments": "3.1.1",
129     "testswarm": "1.1.2",
130     "yargs": "17.7.2"
131   },
132   "commitplease": {
133     "nohook": true,
134     "components": [
135       "Docs",
136       "Tests",
137       "Build",
138       "Support",
139       "Release",
140       "Core",
141       "Ajax",
142       "Attributes",
143       "Callbacks",
144       "CSS",
145       "Data",
146       "Deferred",
147       "Deprecated",
148       "Dimensions",
149       "Effects",
150       "Event",
151       "Manipulation",
152       "Offset",
153       "Queue",
154       "Selector",
155       "Serialize",
156       "Traversing",
157       "Wrap"
158     ],
159     "markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|^(refs?)",
160     "ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])"
161   }