|
24 | 24 | "typescript": "5.1.6" |
25 | 25 | }, |
26 | 26 | "engines": { |
27 | | - "node": ">= 10.9", |
28 | | - "yarn": ">= 1" |
| 27 | + "node": ">= 10.9" |
29 | 28 | }, |
30 | 29 | "files": [ |
31 | 30 | "dist", |
|
46 | 45 | "changelog:commit": "git add CHANGELOG.md && git commit -m \"docs: updated CHANGELOG.md\"", |
47 | 46 | "clean": "rimraf .nyc_output coverage dist", |
48 | 47 | "debug": "node --inspect -r ts-node/register ./src/start.ts", |
49 | | - "dist": "yarn clean && yarn build", |
50 | | - "fix": "yarn fix:config && yarn fix:code", |
51 | | - "fix:code": "yarn lint:code --fix --quiet", |
52 | | - "fix:config": "yarn prettier --write", |
53 | | - "lint": "yarn lint:code && yarn lint:config", |
| 48 | + "dist": "npm run clean && npm run build", |
| 49 | + "fix": "npm run fix:config && npm run fix:code", |
| 50 | + "fix:code": "npm run lint:code --fix --quiet", |
| 51 | + "fix:config": "npm run prettier --write", |
| 52 | + "lint": "npm run lint:code && npm run lint:config", |
54 | 53 | "lint:code": "eslint --ignore-path .gitignore --ext .js,.jsx,.ts,.tsx --no-error-on-unmatched-pattern .", |
55 | | - "lint:config": "yarn prettier --list-different", |
| 54 | + "lint:config": "npm run prettier --list-different", |
56 | 55 | "postversion": "git push origin && git push origin --tags && npm publish --access public", |
57 | 56 | "prettier": "prettier --ignore-path .gitignore --loglevel error .", |
58 | | - "preversion": "git checkout main && git pull && yarn && yarn test && yarn dist", |
59 | | - "release:major": "generate-changelog -M -x \"chore,test\" && yarn changelog:commit && npm version major", |
60 | | - "release:minor": "generate-changelog -m -x \"chore,test\" && yarn changelog:commit && npm version minor", |
61 | | - "release:patch": "generate-changelog -p -x \"chore,test\" && yarn changelog:commit && npm version patch", |
| 57 | + "preversion": "git checkout main && git pull && npm run && npm run test && npm run dist", |
| 58 | + "release:major": "generate-changelog -M -x \"chore,test\" && npm run changelog:commit && npm version major", |
| 59 | + "release:minor": "generate-changelog -m -x \"chore,test\" && npm run changelog:commit && npm version minor", |
| 60 | + "release:patch": "generate-changelog -p -x \"chore,test\" && npm run changelog:commit && npm version patch", |
62 | 61 | "start": "ts-node ./src/start.ts", |
63 | | - "test": "yarn test:types && yarn test:unit:coverage", |
| 62 | + "test": "npm run test:types && npm run test:unit:coverage", |
64 | 63 | "test:types": "tsc --noEmit", |
65 | 64 | "test:unit": "cross-env NODE_ENV=test jest ./src --passWithNoTests", |
66 | | - "test:unit:coverage": "yarn test:unit --coverage" |
| 65 | + "test:unit:coverage": "npm run test:unit --coverage" |
67 | 66 | }, |
68 | 67 | "version": "0.0.0" |
69 | 68 | } |
0 commit comments