|
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 | + "./factory": "./dist/jquery.factory.js", |
| 31 | + "./factory-slim": "./dist/jquery.factory.slim.js", |
38 | 32 | "./src/*.js": "./src/*.js" |
39 | 33 | }, |
40 | 34 | "main": "dist/jquery.js", |
|
106 | 100 | }, |
107 | 101 | "scripts": { |
108 | 102 | "build": "npm install && npm run build-all-variants", |
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", |
| 103 | + "build-all-variants": "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", |
110 | 104 | "start": "grunt watch", |
111 | 105 | "test:browserless": "grunt && npm run test:node_smoke_tests && grunt test:slow", |
112 | 106 | "test:browser": "grunt && grunt karma:main", |
|
118 | 112 | "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 | 113 | "test:node_smoke_tests:regular-full-commonjs": "grunt node_smoke_tests:regular:commonjs:./dist/jquery.js && grunt node_smoke_tests:regular:commonjs:jquery", |
120 | 114 | "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", |
| 115 | + "test:node_smoke_tests:factory-full-module": "grunt node_smoke_tests:factory:module:./dist/jquery.factory.js && grunt node_smoke_tests:factory:module:jquery/factory", |
| 116 | + "test:node_smoke_tests:factory-slim-module": "grunt node_smoke_tests:factory:module:./dist/jquery.factory.slim.js && grunt node_smoke_tests:factory:module:jquery/factory-slim", |
123 | 117 | "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 | 118 | "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 | 119 | "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", |
|
0 commit comments