-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.62 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "@dsnp/test-generators",
"version": "0.0.0",
"description": "Utilities to generate test data",
"type": "commonjs",
"main": "dist/cjs/index.js",
"types": "dist/types/index.d.ts",
"module": "dist/esm/index.js",
"repository": "https://github.com/LibertyDSNP/test-generators",
"license": "Apache-2.0",
"keywords": [],
"scripts": {
"build": "npm run clean && run-p build:*",
"build:cjs": "tsc -p tsconfig.json",
"build:types": "tsc -p tsconfig.types.json && mkdir -p ./dist/types/types && cp ./src/types/*.d.ts ./dist/types/types",
"build:esm": "tsc -p tsconfig.esm.json && echo '{\"type\": \"module\"}'> dist/esm/package.json",
"coverage": "jest test --coverage --collectCoverageFrom='src/**/*.ts'",
"clean": "rm -Rf dist docs ./*.d.ts ./*.js",
"doc": "rm -Rf dist/docs && run-s doc:html",
"doc:html": "typedoc src/ --plugin none --theme default --out dist/docs",
"doc:json": "typedoc src/ --json dist/docs/typedoc.json",
"doc:markdown": "rm -Rf docs && typedoc src/ --theme markdown --out docs",
"format": "eslint \"**/*.{js,ts}\" --fix",
"lint": "eslint \"**/*.{js,ts}\"",
"prepublishOnly": "npm run build && npm run doc:markdown",
"postpublish": "npm run clean",
"test": "jest",
"watch": "run-s build && run-p \"build:cjs -- -w\" \"build:esm -- -w\" \"test -- --watch\""
},
"files": [
"dist/**/*",
"docs/**/*",
"CONTRIBUTING.md"
],
"devDependencies": {
"@types/jest": "26.0.22",
"@types/node-fetch": "^2.5.8",
"@typescript-eslint/eslint-plugin": "4.21.0",
"@typescript-eslint/parser": "4.21.0",
"babel-jest": "^26.6.3",
"dotenv": "^8.2.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-jest": "24.1.5",
"eslint-plugin-prettier": "3.3.1",
"jest": "26.6.3",
"jest-junit": "12.0.0",
"npm-run-all": "4.1.5",
"prettier": "2.2.1",
"ts-jest": "26.5.4",
"ts-node": "9.1.1",
"typedoc": "0.20.35",
"typedoc-plugin-markdown": "3.6.1",
"typescript": "4.2.3"
},
"jest": {
"setupFiles": [
"./jest.config.js"
],
"reporters": [
"default",
"jest-junit"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
},
"testResultsProcessor": "jest-junit",
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/*.test.(ts|js)"
],
"testEnvironment": "node"
},
"jest-junit": {
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
}
}