|
87 | 87 | "scripts": { |
88 | 88 | "build-clean": "rimraf './packages/*/build' './packages/*/dist' './packages/*/tsconfig.tsbuildinfo' './packages/*/api-extractor.json' './api-extractor.json'", |
89 | 89 | "build": "yarn build:js && yarn build:ts && yarn bundle:ts", |
90 | | - "build:js": "node ./scripts/build.js", |
91 | | - "build:ts": "node ./scripts/buildTs.js", |
92 | | - "bundle:ts": "node ./scripts/bundleTs.js", |
93 | | - "check-copyright-headers": "node ./scripts/checkCopyrightHeaders.js", |
| 90 | + "build:js": "node ./scripts/build.mjs", |
| 91 | + "build:ts": "node ./scripts/buildTs.mjs", |
| 92 | + "bundle:ts": "node ./scripts/bundleTs.mjs", |
| 93 | + "check-copyright-headers": "node ./scripts/checkCopyrightHeaders.mjs", |
94 | 94 | "clean-all": "yarn clean-e2e && yarn build-clean && rimraf './packages/*/node_modules' && rimraf './node_modules'", |
95 | | - "clean-e2e": "node ./scripts/cleanE2e.js", |
| 95 | + "clean-e2e": "node ./scripts/cleanE2e.mjs", |
96 | 96 | "crowdin:upload": "echo 'Uploading sources to Crowdin' && crowdin upload sources --config ./crowdin.yaml", |
97 | 97 | "crowdin:download": "echo 'Downloading translations from Crowdin' && crowdin download --config ./crowdin.yaml", |
98 | 98 | "jest": "node ./packages/jest-cli/bin/jest.js", |
99 | 99 | "jest-jasmine": "JEST_JASMINE=1 yarn jest", |
100 | 100 | "jest-jasmine-ci": "yarn jest-jasmine --color --config jest.config.ci.js", |
101 | 101 | "jest-coverage": "yarn jest --coverage", |
102 | | - "lint": "eslint . --cache --ext js,jsx,ts,tsx,md", |
| 102 | + "lint": "eslint . --cache --ext js,jsx,cjs,mjs,ts,tsx,md", |
103 | 103 | "lint:prettier": "prettier '**/*.{json,md,yml,yaml}' 'website/**/*.{css,js}' --write", |
104 | 104 | "lint:prettier:ci": "prettier '**/*.{json,md,yml,yaml}' 'website/**/*.{css,js}' --check", |
105 | | - "remove-examples": "node ./scripts/remove-examples.js", |
| 105 | + "remove-examples": "node ./scripts/remove-examples.mjs", |
106 | 106 | "test-types": "yarn jest --config jest.config.tsd.js", |
107 | 107 | "test-ci-partial": "yarn test-ci-partial:parallel -i", |
108 | 108 | "test-ci-partial:parallel": "yarn jest --color --config jest.config.ci.js", |
109 | 109 | "test-pretty-format-perf": "node packages/pretty-format/perf/test.js", |
110 | 110 | "test-leak": "yarn jest -i --detectLeaks --color jest-mock jest-diff jest-repl pretty-format", |
111 | 111 | "test": "yarn lint && yarn jest", |
112 | | - "verify-old-ts": "node ./scripts/verifyOldTs.js", |
113 | | - "verify-pnp": "node ./scripts/verifyPnP.js", |
114 | | - "watch": "yarn build:js && node ./scripts/watch.js", |
| 112 | + "verify-old-ts": "node ./scripts/verifyOldTs.mjs", |
| 113 | + "verify-pnp": "node ./scripts/verifyPnP.mjs", |
| 114 | + "watch": "yarn build:js && node ./scripts/watch.mjs", |
115 | 115 | "watch:ts": "yarn build:ts --watch" |
116 | 116 | }, |
117 | 117 | "workspaces": [ |
|
0 commit comments