|
27 | 27 | "script": "./dist/jquery.slim.min.js", |
28 | 28 | "default": "./dist-module/jquery.slim.module.min.js" |
29 | 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 | + }, |
30 | 38 | "./src/*.js": "./src/*.js" |
31 | 39 | }, |
32 | 40 | "main": "dist/jquery.js", |
|
98 | 106 | }, |
99 | 107 | "scripts": { |
100 | 108 | "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", |
| 109 | + "build-all-variants": "grunt custom:slim --factory --esm --filename=jquery.factory.slim.module.js && grunt custom --factory --esm --filename=jquery.factory.module.js && grunt custom:slim --factory --filename=jquery.factory.slim.js && grunt custom --factory --filename=jquery.factory.js && 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 | 110 | "start": "grunt watch", |
103 | 111 | "test:browserless": "grunt && npm run test:node_smoke_tests && grunt test:slow", |
104 | 112 | "test:browser": "grunt && grunt karma:main", |
105 | 113 | "test:esmodules": "grunt && grunt karma:esmodules", |
106 | 114 | "test:no-deprecated": "grunt test:prepare && grunt custom:-deprecated && grunt karma:main", |
107 | 115 | "test:selector-native": "grunt test:prepare && grunt custom:-selector && grunt karma:main", |
108 | 116 | "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", |
| 117 | + "test:node_smoke_tests:regular-full-module": "grunt node_smoke_tests:regular:module:./dist-module/jquery.module.js && grunt node_smoke_tests:regular:module:jquery", |
| 118 | + "test:node_smoke_tests:regular-slim-module": "grunt node_smoke_tests:regular:module:./dist-module/jquery.slim.module.js && grunt node_smoke_tests:regular:module:jquery/slim", |
| 119 | + "test:node_smoke_tests:regular-full-commonjs": "grunt node_smoke_tests:regular:commonjs:./dist/jquery.js && grunt node_smoke_tests:regular:commonjs:jquery", |
| 120 | + "test:node_smoke_tests:regular-slim-commonjs": "grunt node_smoke_tests:regular:commonjs:./dist/jquery.slim.js && grunt node_smoke_tests:regular:commonjs:jquery/slim", |
| 121 | + "test:node_smoke_tests:factory-full-module": "grunt node_smoke_tests:factory:module:./dist-module/jquery.factory.module.js && grunt node_smoke_tests:factory:module:jquery/factory", |
| 122 | + "test:node_smoke_tests:factory-slim-module": "grunt node_smoke_tests:factory:module:./dist-module/jquery.factory.slim.module.js && grunt node_smoke_tests:factory:module:jquery/factory-slim", |
| 123 | + "test:node_smoke_tests:factory-full-commonjs": "grunt node_smoke_tests:factory:commonjs:./dist/jquery.factory.js && grunt node_smoke_tests:factory:commonjs:jquery/factory", |
| 124 | + "test:node_smoke_tests:factory-slim-commonjs": "grunt node_smoke_tests:factory:commonjs:./dist/jquery.factory.slim.js && grunt node_smoke_tests:factory:commonjs:jquery/factory-slim", |
| 125 | + "test:node_smoke_tests:regular": "npm run test:node_smoke_tests:regular-full-module && npm run test:node_smoke_tests:regular-slim-module && npm run test:node_smoke_tests:regular-full-commonjs && npm run test:node_smoke_tests:regular-slim-commonjs", |
| 126 | + "test:node_smoke_tests:factory": "npm run test:node_smoke_tests:factory-full-module && npm run test:node_smoke_tests:factory-slim-module && npm run test:node_smoke_tests:factory-full-commonjs && npm run test:node_smoke_tests:factory-slim-commonjs", |
| 127 | + "test:node_smoke_tests": "npm run test:node_smoke_tests:regular && npm run test:node_smoke_tests:factory", |
| 128 | + "test": "npm run test:node_smoke_tests && 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 | 129 | "jenkins": "npm run test:browserless" |
116 | 130 | }, |
117 | 131 | "commitplease": { |
|
0 commit comments