|
37 | 37 | "scripts": { |
38 | 38 | "clean": "del-cli dist types", |
39 | 39 | "prebuild": "npm run clean", |
| 40 | + "build:serialize-javascript": "node ./scripts/copy-serialize-javascript.js", |
40 | 41 | "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write", |
41 | 42 | "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files", |
42 | 43 | "build": "npm-run-all -p \"build:**\"", |
43 | 44 | "commitlint": "commitlint --from=main", |
44 | 45 | "security": "npm audit --production", |
| 46 | + "lint:serialize-javascript": "node ./scripts/copy-serialize-javascript.js --check", |
45 | 47 | "lint:prettier": "prettier --list-different .", |
46 | 48 | "lint:code": "eslint --cache .", |
47 | 49 | "lint:spelling": "cspell \"**/*.*\"", |
|
62 | 64 | "@jridgewell/trace-mapping": "^0.3.25", |
63 | 65 | "jest-worker": "^27.4.5", |
64 | 66 | "schema-utils": "^4.3.0", |
65 | | - "serialize-javascript": "^6.0.2", |
66 | 67 | "terser": "^5.31.1" |
67 | 68 | }, |
68 | 69 | "devDependencies": { |
|
91 | 92 | "npm-run-all": "^4.1.5", |
92 | 93 | "prettier": "^3.6.0", |
93 | 94 | "prettier-2": "npm:prettier@^2", |
| 95 | + "serialize-javascript": "^7.0.4", |
94 | 96 | "standard-version": "^9.3.1", |
95 | 97 | "typescript": "^5.9.2", |
96 | 98 | "uglify-js": "^3.19.3", |
|
0 commit comments