|
3 | 3 | "version": "1.0.0",
|
4 | 4 | "description": "{{package.description}}",
|
5 | 5 | "author": "{{package.author.name}} <{{package.author.email}}>",
|
| 6 | + "type": "module", |
6 | 7 | "license": "MIT",
|
7 | 8 | "keywords": [
|
8 | 9 | "nodejs",
|
|
20 | 21 | "typings": "dist/index.d.ts",
|
21 | 22 | "lint-staged": {
|
22 | 23 | "*.{js,ts}": [
|
23 |
| - "biome format --write", |
| 24 | + "biome format --no-errors-on-unmatched --write", |
24 | 25 | "prettier --config prettier.config.js --write",
|
25 |
| - "eslint --fix" |
| 26 | + "eslint --config .eslintrc.cjs --fix" |
26 | 27 | ],
|
27 | 28 | "*.{css,gql,graphql,html,json,less,md,mdx,sass,scss}": [
|
28 | 29 | "prettier --config prettier.config.js --write"
|
|
37 | 38 | "analyze:deps:graph": "madge --extensions js,ts --image graph.svg --layout dot --ts-config tsconfig.json src/**",
|
38 | 39 | "test": "jest tests --verbose",
|
39 | 40 | "test:coverage": "jest tests --coverage",
|
40 |
| - "fmt": "biome format --write . && prettier --config prettier.config.js --write .", |
41 |
| - "lint": "eslint --ext ts,js src/", |
42 |
| - "lint:fix": "biome lint --apply-unsafe src/ && eslint --ext ts,js --fix src/", |
| 41 | + "fmt": "biome format --no-errors-on-unmatched --write . && prettier --config prettier.config.js --write .", |
| 42 | + "lint": "eslint --config .eslintrc.cjs --ext ts,js src/", |
| 43 | + "lint:fix": "biome lint --apply-unsafe src/ && eslint --config .eslintrc.cjs --ext ts,js --fix src/", |
43 | 44 | "lint:staged": "lint-staged",
|
44 | 45 | "fix": "npm run fmt && npm run lint:fix",
|
45 | 46 | "build:api-docs": "typedoc --plugin typedoc-plugin-markdown --out docs/api src/index.ts",
|
46 |
| - "build:dev": "node scripts/build.js", |
47 |
| - "build:prod": "node scripts/build.js --production", |
48 |
| - "build:binaries": "node scripts/build.js --binaries", |
| 47 | + "build:dev": "node scripts/build.cjs", |
| 48 | + "build:prod": "node scripts/build.cjs --production", |
| 49 | + "build:binaries": "node scripts/build.cjs --binaries", |
49 | 50 | "build:dts": "dts-bundle-generator -o dist/index.d.ts src/index.ts",
|
50 | 51 | "build": "npm run build:dev && npm run build:dts",
|
51 | 52 | "dev": "npm run build:dev && node dist/index.js",
|
|
0 commit comments