forked from diplodoc-platform/transform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 3.34 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
{
"name": "@doc-tools/transform",
"version": "2.16.0",
"description": "A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML",
"author": "YFM Team <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/yandex-cloud/yfm-transform.git"
},
"main": "lib/index.js",
"files": [
"dist",
"lib",
"src"
],
"scripts": {
"build": "npm run build:css && npm run build:js",
"build:css": "npm run build:css:compile && npm run build:css:prefix && npm run build:css:minify",
"build:css:compile": "node-sass src/scss/yfm.scss dist/css/yfm.css",
"build:css:prefix": "postcss dist/css/yfm.css --output dist/css/yfm.css",
"build:css:minify": "cleancss dist/css/yfm.css --output dist/css/yfm.min.css",
"build:js": "npm run build:js:lib && npm run build:js:dist",
"build:js:lib": "tsc -p tsconfig.transform.json",
"build:js:dist": "rollup -c && npm run build:js:dist:minify",
"build:js:dist:minify": "uglifyjs dist/js/yfm.js --output dist/js/yfm.min.js",
"test": "jest --coverage",
"lint": "npx eslint --max-warnings=0 \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"typecheck": "tsc -p tsconfig.json --noEmit",
"precommit": "npm run lint && npm run test",
"prepublishOnly": "npm run lint && npm run test && npm run build"
},
"dependencies": {
"@types/sanitize-html": "^2.6.2",
"chalk": "4.1.2",
"get-root-node-polyfill": "1.0.0",
"github-slugger": "1.4.0",
"lodash": "4.17.21",
"markdown-it": "13.0.1",
"markdown-it-attrs": "4.1.4",
"markdown-it-deflist": "2.1.0",
"markdown-it-meta": "0.0.1",
"markdown-it-sup": "1.0.0",
"markdownlint": "^0.25.1",
"markdownlint-rule-helpers": "0.17.2",
"postcss": "8.4.16",
"sanitize-html": "^2.7.1",
"slugify": "1.6.5"
},
"devDependencies": {
"@babel/core": "7.18.10",
"@babel/plugin-transform-modules-commonjs": "7.18.6",
"@babel/preset-env": "7.18.10",
"@rollup/plugin-commonjs": "22.0.2",
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-typescript": "8.3.4",
"@types/github-slugger": "1.3.0",
"@types/highlight.js": "10.1.0",
"@types/jest": "28.1.7",
"@types/lodash": "4.14.183",
"@types/markdown-it": "12.2.3",
"@types/markdown-it-attrs": "4.1.0",
"@types/markdownlint": "0.18.0",
"@types/node": "17.0.10",
"@yandex-cloud/eslint-config": "^1.1.0",
"@yandex-cloud/prettier-config": "^1.0.0",
"@yandex-cloud/tsconfig": "^1.0.0",
"autoprefixer": "10.4.8",
"babel-eslint": "10.1.0",
"clean-css-cli": "5.6.1",
"eslint": "8.22.0",
"eslint-plugin-security": "1.5.0",
"jest": "28.1.3",
"markdown-it-testgen": "^0.1.6",
"node-sass": "5.0.0",
"postcss-cli": "8.3.1",
"prettier": "2.7.1",
"regenerator-runtime": "0.13.9",
"rollup": "2.78.0",
"rollup-plugin-babel": "4.4.0",
"ts-jest": "28.0.8",
"typescript": "4.7.4",
"uglify-js": "3.17.0"
},
"peerDependencies": {
"highlight.js": "^10.0.3"
},
"bugs": {
"url": "https://github.com/yandex-cloud/yfm-transform/issues"
},
"homepage": "https://github.com/yandex-cloud/yfm-transform#readme",
"keywords": [
"markdown",
"yandex",
"docs",
"yfm",
"documentation",
"tool",
"tools",
"generator"
],
"moduleDirectories": [
"node_modules",
"src"
]
}