|
5 | 5 | "main": "src/index.js", |
6 | 6 | "types": "types/index.d.ts", |
7 | 7 | "scripts": { |
8 | | - "test:type-definitions": "./node_modules/.bin/tsc test/typings.ts && node test/typings.js", |
| 8 | + "test:type-definitions": "tsc test/typings.ts && node test/typings.js", |
9 | 9 | "test:code-style": "npm run lint:check", |
10 | | - "test:unit-tests": "./node_modules/.bin/mocha test/**/*.spec.js", |
11 | | - "test:coverage-report": "./node_modules/.bin/nyc npm run test:unit-tests --silent", |
12 | | - "test:coverage-check": "./node_modules/.bin/nyc check-coverage", |
| 10 | + "test:unit-tests": "mocha test/**/*.spec.js", |
| 11 | + "test:coverage-report": "nyc npm run test:unit-tests --silent", |
| 12 | + "test:coverage-check": "nyc check-coverage", |
13 | 13 | "test:coverage": "npm run test:coverage-report; npm run test:coverage-check", |
14 | 14 | "test": "npm run test:unit-tests && npm run test:code-style && npm run test:type-definitions && npm run test:coverage", |
15 | | - "lint:fix": "./node_modules/.bin/prettier --write 'src/**/*.{js,ts,css,html}' --write 'test/**/*.{js,ts,css,html}'", |
16 | | - "lint:check": "./node_modules/.bin/eslint src test", |
| 15 | + "lint:fix": "prettier --write 'src/**/*.{js,ts,css,html}' --write 'test/**/*.{js,ts,css,html}'", |
| 16 | + "lint:check": "eslint src test", |
17 | 17 | "lint": "npm run lint:fix --silent && npm run lint:check", |
18 | 18 | "prepublishOnly": "npm ci && npm test", |
19 | 19 | "postlint": "echo \"No issues.\"", |
|
0 commit comments