-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 2.89 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "@zimmed/prefab",
"version": "0.3.0",
"description": "TypeScript library for optimized data structures.",
"keywords": [],
"main": "dist/prefab.umd.js",
"module": "dist/prefab.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist"
],
"author": "[email protected]",
"repository": {
"type": "git",
"url": "https://github.com/zimmed/prefab.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"license": "MIT",
"engines": {
"node": ">=16 <=17"
},
"scripts": {
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"docs": "typedoc --out docs --theme markdown src",
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript && typedoc --out docs --theme markdown src && jest-coverage-badges input 'coverage/coverage-summary.json' output 'coverage'",
"start": "rollup -c rollup.config.ts -w --configPlugin typescript",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"badges": "jest-coverage-badges input 'coverage/coverage-summary.json' output 'coverage'",
"report-coverage": "cat coverage/lcov.info | coveralls"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"resetMocks": true,
"restoreMocks": true,
"clearMocks": true,
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coverageReporters": [
"json-summary",
"text"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"exports": {
".": "./dist/prefab.js",
"./lib": "./dist/lib/index.js",
"./types": "./dist/types/index.d.ts"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@rollup/plugin-typescript": "^9.0.1",
"@types/jest": "^29.2.0",
"@types/node": "^18.11.2",
"coveralls": "^3.1.1",
"jest": "^29.2.1",
"jest-config": "^29.2.1",
"jest-coverage-badges": "^1.0.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^3.2.3",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.34.1",
"ts-jest": "^29.0.3",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1",
"typedoc": "^0.23.17",
"typedoc-plugin-markdown": "^3.13.6",
"typescript": "^4.8.4"
}
}