-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
114 lines (114 loc) · 3.35 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
105
106
107
108
109
110
111
112
113
114
{
"name": "@stoplight/markdown",
"version": "0.0.0",
"description": "Useful functions when working with Markdown.",
"keywords": [
"markdown",
"markdown parser",
"parser",
"sourcemap"
],
"sideEffects": false,
"homepage": "https://github.com/stoplightio/markdown",
"bugs": "https://github.com/stoplightio/markdown/issues",
"author": "Stoplight <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/stoplightio/markdown"
},
"license": "Apache-2.0",
"main": "src/index.ts",
"files": [
"**/*"
],
"engines": {
"node": ">=12"
},
"type": "commonjs",
"scripts": {
"build": "sl-scripts bundle",
"postbuild": "yarn test.packaging",
"build.docs": "sl-scripts build:typedoc",
"commit": "git-cz",
"release": "sl-scripts release",
"release.docs": "sl-scripts release:docs",
"release.dryRun": "sl-scripts release --dry-run --debug",
"test": "jest",
"test.prod": "yarn lint && yarn test --coverage --no-cache",
"test.update": "yarn test --updateSnapshot",
"test.watch": "yarn test --watch",
"test.packaging": "node --input-type=commonjs -e \"require('./dist/index.js')\" && node --input-type=module -e \"import './dist/index.mjs'\"",
"lint": "yarn prettier.check && eslint --ext .js,.jsx,.ts,.tsx .",
"prettier.check": "prettier --ignore-path .eslintignore --check '**/*.{js,jsx,ts,tsx}'",
"lint.fix": "prettier --ignore-path .eslintignore --write '**/*.{js,jsx,ts,tsx}'; eslint --ext .js,.jsx,.ts,.tsx . --fix"
},
"dependencies": {
"@stoplight/types": "^12.3.0",
"@stoplight/yaml": "^4.2.2",
"github-slugger": "^1.3.0",
"hast-util-whitespace": "^2.0.0",
"lodash": "^4.17.21",
"mdast-util-to-string": "^3.1.0",
"remark-frontmatter": "^3.0.0",
"remark-gfm": "^1.0.0",
"remark-parse": "^9.0.0",
"remark-stringify": "^9.0.1",
"tslib": "^2.3.0",
"unified": "^9.2.1",
"unist-util-select": "^4.0.0",
"unist-util-visit": "^3.1.0"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@rollup/plugin-node-resolve": "^13.0.0",
"@stoplight/eslint-config": "^2.0.0",
"@stoplight/scripts": "^9.0.5",
"@types/hast": "^2.3.1",
"@types/jest": "^26.0.23",
"@types/lodash": "^4.14.170",
"@types/unist": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"eslint": "^7.28.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"glob-fs": "^0.1.7",
"jest": "^27.0.4",
"lodash": "^4.17.21",
"prettier": "^2.3.1",
"remark-html": "^13.0.1",
"ts-jest": "^27.0.3",
"typescript": "^4.3.2"
},
"lint-staged": {
"*.{ts,tsx}$": [
"yarn lint.fix",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"extends": "@stoplight/scripts/release"
}
}