|
4 | 4 | "main": "dist/index.js",
|
5 | 5 | "type": "module",
|
6 | 6 | "scripts": {
|
7 |
| - "prepare": "husky install", |
| 7 | + "postinstall": "husky install", |
8 | 8 | "build": "rimraf dist && tsc -p tsconfig.build.json",
|
9 | 9 | "build:main": "tsc -p tsconfig.build.json",
|
10 | 10 | "dev": "tsc -p tsconfig.build.json --watch",
|
11 |
| - "lint:raw": "eslint --ext .ts --ext .js --ext .tsx --ext .jsx --ignore-pattern dist", |
12 |
| - "lint": "yarn lint:raw .", |
13 |
| - "lint-fix": "yarn lint --fix", |
14 |
| - "license-validate": "yarn sofie-licensecheck" |
| 11 | + "lint:raw": "run eslint --ext .ts --ext .js --ext .tsx --ext .jsx --ignore-pattern dist", |
| 12 | + "lint": "run lint:raw .", |
| 13 | + "lint-fix": "run lint --fix", |
| 14 | + "eslint": "./node_modules/.bin/eslint", |
| 15 | + "prettier": "./node_modules/.bin/prettier" |
15 | 16 | },
|
16 | 17 | "author": "Peter Stather",
|
17 | 18 | "license": "MIT",
|
18 | 19 | "prettier": "@companion-module/tools/.prettierrc.json",
|
19 | 20 | "lint-staged": {
|
20 | 21 | "*.{css,json,md,scss}": [
|
21 |
| - "prettier --write" |
| 22 | + "run prettier --write" |
22 | 23 | ],
|
23 | 24 | "*.{ts,tsx,js,jsx}": [
|
24 |
| - "yarn lint:raw --fix" |
| 25 | + "run lint:raw --fix" |
25 | 26 | ]
|
26 | 27 | },
|
27 | 28 | "engines": {
|
|
41 | 42 | "lint-staged": "^13.0.4",
|
42 | 43 | "rimraf": "^3.0.2",
|
43 | 44 | "typescript": "~4.9"
|
44 |
| - } |
| 45 | + }, |
| 46 | + "packageManager": "[email protected]" |
45 | 47 | }
|
0 commit comments