-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.38 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
{
"name": "middle-out",
"version": "1.0.0-beta.15",
"description": "",
"main": "dist/umd/index.js",
"module": "dist/esm/index.js",
"types": "dist/typings/index.d.ts",
"scripts": {
"test": "jest __tests__/.*\\.ts",
"clean": "shx rm -rf ./dist/*",
"build:debugjest": "tsc -p tsconfig.debugjest.json",
"build:commonjs": "tsc -p tsconfig.app.json",
"build:esm": "tsc -p tsconfig.app.json --target ES2015 --module ES2015 --outDir ./dist/esm/ --declaration true --declarationDir ./dist/typings/",
"build:umd": "webpack",
"build": "npm-run-all build:esm build:umd",
"prebuild": "npm run clean",
"release": "standard-version",
"prerelease": "npm-run-all build test",
"postrelease": "npm run coverage",
"coverage": "cat ./coverage/lcov.info | node ./node_modules/coveralls/bin/coveralls.js",
"precoverage": "npm test -- --coverage",
"prepublishOnly": "npm run build:umd",
"docs": "typedoc ./src/ --exclude **/*index.ts --out ./docs/ --name \"Middle Out\" --mode modules --readme ./README.md --disableOutputCheck --excludeNotExported --excludePrivate --excludeProtected"
},
"keywords": [],
"files": [
"dist/esm/**/*",
"dist/typings/**/*",
"dist/umd/**/*"
],
"author": "Derek Worthen",
"license": "MIT",
"devDependencies": {
"@types/jest": "^23.0.0",
"@types/validator": "^9.4.1",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"coveralls": "^3.0.1",
"jest": "23.1.0",
"jest-junit": "^5.0.0",
"npm-run-all": "^4.1.3",
"rimraf": "^2.6.2",
"shx": "^0.3.0",
"standard-version": "^4.4.0",
"ts-jest": "^22.4.6",
"ts-node": "^6.0.3",
"typedoc": "^0.11.1",
"typedoc-plugin-external-module-name": "^1.1.1",
"typescript": "^2.7.2",
"webpack": "^4.10.2",
"webpack-cli": "^3.0.1"
},
"dependencies": {
"validator": "^10.2.0"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"reporters": [
"jest-junit"
],
"collectCoverageFrom": [
"**/src/**/*.{js,ts,jsx,tsx}",
"!**/src/**/index.ts",
"!dist/**/*"
],
"coverageReporters": [
"lcov",
"json",
"cobertura"
],
"transform": {
"\\.(ts|tsx)$": "./node_modules/ts-jest/preprocessor.js"
},
"testRegex": "/__tests__/.*\\.(ts|tsx|js)$"
},
"jest-junit": {
"output": "./coverage/junit.xml"
}
}