Build: replace CRLF with LF during minify
[jquery.git] / package.json
blobf2ef725b3e96e5457716fb68d7eef16a40715aaa
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     "./src/*.js": "./src/*.js"
31   },
32   "main": "dist/jquery.js",
33   "homepage": "https://jquery.com",
34   "author": {
35     "name": "OpenJS Foundation and other contributors",
36     "url": "https://github.com/jquery/jquery/blob/main/AUTHORS.txt"
37   },
38   "repository": {
39     "type": "git",
40     "url": "https://github.com/jquery/jquery.git"
41   },
42   "keywords": [
43     "jquery",
44     "javascript",
45     "browser",
46     "library"
47   ],
48   "bugs": {
49     "url": "https://github.com/jquery/jquery/issues"
50   },
51   "license": "MIT",
52   "devDependencies": {
53     "@babel/core": "7.10.5",
54     "@babel/plugin-transform-for-of": "7.10.4",
55     "@swc/core": "1.3.66",
56     "bootstrap": "5.3.0",
57     "colors": "1.4.0",
58     "commitplease": "3.2.0",
59     "core-js-bundle": "3.6.5",
60     "eslint-config-jquery": "3.0.0",
61     "eslint-plugin-import": "2.25.2",
62     "grunt": "1.5.3",
63     "grunt-babel": "8.0.0",
64     "grunt-cli": "1.4.3",
65     "grunt-compare-size": "0.4.2",
66     "grunt-contrib-watch": "1.1.0",
67     "grunt-eslint": "24.0.0",
68     "grunt-git-authors": "3.2.0",
69     "grunt-jsonlint": "2.1.2",
70     "grunt-karma": "4.0.2",
71     "grunt-newer": "1.3.0",
72     "grunt-npmcopy": "0.2.0",
73     "gzip-js": "0.3.2",
74     "husky": "4.2.5",
75     "jsdom": "19.0.0",
76     "karma": "6.4.1",
77     "karma-browserstack-launcher": "1.6.0",
78     "karma-chrome-launcher": "3.1.1",
79     "karma-firefox-launcher": "2.1.2",
80     "karma-ie-launcher": "1.0.0",
81     "karma-jsdom-launcher": "12.0.0",
82     "karma-qunit": "4.1.2",
83     "karma-webkit-launcher": "2.1.0",
84     "load-grunt-tasks": "5.1.0",
85     "multiparty": "4.2.3",
86     "native-promise-only": "0.8.1",
87     "playwright-webkit": "1.30.0",
88     "promises-aplus-tests": "2.1.2",
89     "q": "1.5.1",
90     "qunit": "2.10.1",
91     "raw-body": "2.4.1",
92     "requirejs": "2.3.6",
93     "rimraf": "3.0.2",
94     "rollup": "2.21.0",
95     "sinon": "7.3.1",
96     "strip-json-comments": "3.1.1",
97     "testswarm": "1.1.2"
98   },
99   "scripts": {
100     "build": "npm install && npm run build-all-variants",
101     "build-all-variants": "grunt custom:slim --esm --filename=jquery.slim.module.js && grunt custom --esm --filename=jquery.module.js && grunt custom:slim --filename=jquery.slim.js && grunt custom",
102     "start": "grunt watch",
103     "test:browserless": "grunt && npm run test:node_smoke_tests && grunt test:slow",
104     "test:browser": "grunt && grunt karma:main",
105     "test:esmodules": "grunt && grunt karma:esmodules",
106     "test:no-deprecated": "grunt test:prepare && grunt custom:-deprecated && grunt karma:main",
107     "test:selector-native": "grunt test:prepare && grunt custom:-selector && grunt karma:main",
108     "test:slim": "grunt test:prepare && grunt custom:slim && grunt karma:main",
109     "test:node_smoke_tests:full-module": "grunt node_smoke_tests:module:./dist-module/jquery.module.js && grunt node_smoke_tests:module:jquery",
110     "test:node_smoke_tests:full-commonjs": "grunt node_smoke_tests:commonjs:./dist/jquery.js && grunt node_smoke_tests:commonjs:jquery",
111     "test:node_smoke_tests:slim-module": "grunt node_smoke_tests:module:./dist-module/jquery.slim.module.js && grunt node_smoke_tests:module:jquery/slim",
112     "test:node_smoke_tests:slim-commonjs": "grunt node_smoke_tests:commonjs:./dist/jquery.slim.js && grunt node_smoke_tests:commonjs:jquery/slim",
113     "test:node_smoke_tests": "npm run test:node_smoke_tests:full-module && npm run test:node_smoke_tests:slim-module && npm run test:node_smoke_tests:full-commonjs && npm run test:node_smoke_tests:slim-commonjs",
114     "test": "npm run test:browserless && npm run test:slim && npm run test:no-deprecated && npm run test:selector-native && grunt && grunt test:slow && grunt karma:main && grunt karma:esmodules",
115     "jenkins": "npm run test:browserless"
116   },
117   "commitplease": {
118     "nohook": true,
119     "components": [
120       "Docs",
121       "Tests",
122       "Build",
123       "Support",
124       "Release",
125       "Core",
126       "Ajax",
127       "Attributes",
128       "Callbacks",
129       "CSS",
130       "Data",
131       "Deferred",
132       "Deprecated",
133       "Dimensions",
134       "Effects",
135       "Event",
136       "Manipulation",
137       "Offset",
138       "Queue",
139       "Selector",
140       "Serialize",
141       "Traversing",
142       "Wrap"
143     ],
144     "markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|^(refs?)",
145     "ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])"
146   },
147   "husky": {
148     "hooks": {
149       "commit-msg": "commitplease .git/COMMIT_EDITMSG",
150       "pre-commit": "grunt lint:newer qunit_fixture"
151     }
152   }