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