|
2 | 2 | "name": "@mojotech/json-type-validation", |
3 | 3 | "version": "1.0.1", |
4 | 4 | "description": "runtime type checking and validation of untyped JSON data", |
5 | | - "keywords": [ |
6 | | - "TypeScript", |
7 | | - "JSON" |
8 | | - ], |
| 5 | + "keywords": ["TypeScript", "JSON"], |
9 | 6 | "main": "dist/json-type-validation.umd.js", |
10 | 7 | "module": "dist/json-type-validation.es5.js", |
11 | 8 | "typings": "dist/types/json-type-validation.d.ts", |
12 | | - "files": [ |
13 | | - "dist" |
14 | | - ], |
| 9 | + "files": ["dist"], |
15 | 10 | "author": "Elias Mulhall <elias@mojotech.com>", |
16 | 11 | "repository": { |
17 | 12 | "type": "git", |
|
28 | 23 | "scripts": { |
29 | 24 | "lint": "tslint -t codeFrame --project tsconfig-test.json", |
30 | 25 | "prebuild": "rimraf dist", |
31 | | - "build": "tsc --module commonjs --outDir dist/lib && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme markdown --readme DOCS.md --mdHideSources --mode modules --excludeNotExported src", |
| 26 | + "build": |
| 27 | + "tsc --module commonjs --outDir dist/lib && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme markdown --readme DOCS.md --mdHideSources --mode modules --excludeNotExported src", |
32 | 28 | "start": "rollup -c rollup.config.ts -w", |
33 | 29 | "test": "jest", |
34 | 30 | "test:watch": "jest --watch", |
|
44 | 40 | ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" |
45 | 41 | }, |
46 | 42 | "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", |
47 | | - "moduleFileExtensions": [ |
48 | | - "ts", |
49 | | - "tsx", |
50 | | - "js" |
51 | | - ], |
52 | | - "coveragePathIgnorePatterns": [ |
53 | | - "/node_modules/", |
54 | | - "/test/" |
55 | | - ], |
| 43 | + "moduleFileExtensions": ["ts", "tsx", "js"], |
| 44 | + "coveragePathIgnorePatterns": ["/node_modules/", "/test/"], |
56 | 45 | "coverageThreshold": { |
57 | 46 | "global": { |
58 | 47 | "branches": 90, |
|
0 commit comments