|
7 | 7 | "scripts": { |
8 | 8 | "benchmark:w3c": "node test/benchmark/linkedom.js --w3c; node test/benchmark/linkedom-cached.js --w3c; node test/benchmark/dom.js --w3c", |
9 | 9 | "benchmark:dom": "node test/benchmark/linkedom.js --dom; node test/benchmark/linkedom-cached.js --dom; node test/benchmark/dom.js --dom", |
10 | | - "build": "npm run rollup:es && node rollup/ssr.cjs && node rollup/init.cjs && npm run rollup:init && npm run rollup:ssr && rm -rf cjs/* && npm run cjs && npm run build:types && npm run test && npm run size", |
| 10 | + "build": "npm run rollup:es && node rollup/ssr.cjs && node rollup/init.cjs && npm run rollup:init && npm run rollup:ssr && rm -rf cjs/* && npm run cjs && npm run build:types && npm run test && npm run size && npm run publint", |
11 | 11 | "cjs": "ascjs --no-default esm cjs", |
12 | 12 | "rollup:es": "rollup --config rollup/es.config.js", |
13 | 13 | "rollup:init": "rollup --config rollup/init.config.js", |
|
17 | 17 | "test": "c8 node test/coverage.js && node test/modern.mjs && node test/svg.mjs", |
18 | 18 | "coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info", |
19 | 19 | "clean": "rm -rf coverage ./*.js cjs/**/*.js cjs/*.js types", |
20 | | - "check:types": "npx attw --pack .", |
| 20 | + "check:types": "npx attw $(npm pack) --profile esm-only", |
21 | 21 | "build:types": "rm -rf types && npx tsc -p tsconfig.json && node rollup/ts.fix.js", |
22 | | - "are-the-types-wrong": "npx attw $(npm pack)", |
23 | | - "publint-package": "npx publint ." |
| 22 | + "publint": "npx publint ." |
24 | 23 | }, |
25 | 24 | "keywords": [ |
26 | 25 | "micro", |
|
30 | 29 | "author": "Andrea Giammarchi", |
31 | 30 | "license": "MIT", |
32 | 31 | "devDependencies": { |
33 | | - "@arethetypeswrong/cli": "~0.17.3", |
34 | | - "publint": "~0.3.2", |
| 32 | + "@arethetypeswrong/cli": "~0.17.4", |
| 33 | + "publint": "~0.3.12", |
35 | 34 | "@rollup/plugin-node-resolve": "^15.3.0", |
36 | 35 | "@rollup/plugin-terser": "^0.4.4", |
37 | 36 | "@types/estree": "^1.0.6", |
|
0 commit comments