|
45 | 45 | },
|
46 | 46 | "main": "dist/jquery.js",
|
47 | 47 | "scripts": {
|
48 |
| - "authors:check": "node -e \"(async () => { const { checkAuthors } = await import('./build/release/authors.js'); checkAuthors() })()\"", |
49 |
| - "authors:update": "node -e \"(async () => { const { updateAuthors } = await import('./build/release/authors.js'); updateAuthors() })()\"", |
| 48 | + "authors:check": "node --input-type=module -e \"import { checkAuthors } from './build/release/authors.js'; checkAuthors()\"", |
| 49 | + "authors:update": "node --input-type=module -e \"import { updateAuthors } from './build/release/authors.js'; updateAuthors()\"", |
50 | 50 | "babel:tests": "babel test/data/core/jquery-iterability-transpiled-es6.js --out-file test/data/core/jquery-iterability-transpiled.js",
|
51 | 51 | "build": "node ./build/command.js",
|
52 |
| - "build:all": "node -e \"(async () => { const { buildDefaultFiles } = await import('./build/tasks/build.js'); buildDefaultFiles() })()\"", |
| 52 | + "build:all": "node --input-type=module -e \"import { buildDefaultFiles } from './build/tasks/build.js'; buildDefaultFiles()\"", |
53 | 53 | "build:clean": "rimraf --glob dist/*.{js,map} --glob dist-module/*.{js,map}",
|
54 |
| - "build:main": "node -e \"(async () => { const { build } = await import('./build/tasks/build.js'); build() })()\"", |
| 54 | + "build:main": "node --input-type=module -e \"import { build } from './build/tasks/build.js'; build()\"", |
55 | 55 | "lint:dev": "eslint --cache .",
|
56 | 56 | "lint:json": "jsonlint --quiet package.json",
|
57 | 57 | "lint": "concurrently -r \"npm:lint:dev\" \"npm:lint:json\"",
|
|
64 | 64 | "release:clean": "rimraf tmp changelog.html contributors.html",
|
65 | 65 | "release:dist": "node build/release/dist.js",
|
66 | 66 | "release:verify": "node build/release/verify.js",
|
67 |
| - "start": "node -e \"(async () => { const { buildDefaultFiles } = await import('./build/tasks/build.js'); buildDefaultFiles({ watch: true }) })()\"", |
| 67 | + "start": "node --input-type=module -e \"import { buildDefaultFiles } from './build/tasks/build.js'; buildDefaultFiles({ watch: true })\"", |
68 | 68 | "test:bundlers": "npm run pretest && npm run build:all && node test/bundler_smoke_tests/run-jsdom-tests.js",
|
69 | 69 | "test:browser": "npm run pretest && npm run build:main && npm run test:unit -- -b chrome -b firefox -h",
|
70 | 70 | "test:browserless": "npm run pretest && npm run build:all && node test/bundler_smoke_tests/run-jsdom-tests.js && node build/tasks/node_smoke_tests.js && node build/tasks/promises_aplus_tests.js && npm run test:unit -- -b jsdom -m basic",
|
|
0 commit comments