-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
91 lines (91 loc) · 2.41 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
{
"name": "marmiton-api",
"version": "3.0.0",
"description": "",
"keywords": [],
"main": "dist/lib/marmiton-api.js",
"module": "dist/marmiton-api.es6.js",
"browser": "dist/marmiton-api.browser.js",
"typings": "dist/types/marmiton-api.d.ts",
"files": [
"dist"
],
"author": "sotrxii",
"repository": "https://github.com/SoTrxII/marmiton-api.git",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup --bundleConfigAsCjs -c rollup.config.ts --configPlugin rollup-plugin-typescript2 && npx typedoc src/marmiton-api.ts && npx shx cp -r src/@types dist/types/",
"start": "rollup -c rollup.config.ts -w",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 85,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/*/*.{js,ts}"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.2.1",
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"@types/node-fetch": "^2.5.8",
"jest": "^29.3.1",
"jest-config": "^29.3.1",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"rollup": "^3.9.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.34.1",
"rollup-plugin-visualizer": "^5.6.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0",
"tslint-config-standard": "^9.0.0",
"typedoc": "^0.23.23",
"typescript": "^4.9.4"
},
"dependencies": {
"node-html-parser": "^6.1.4"
}
}