forked from diplodoc-platform/transform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 3.39 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": "@doc-tools/transform",
"version": "2.5.5",
"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"
],
"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 \"{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": {
"chalk": "^4.1.0",
"get-root-node-polyfill": "^1.0.0",
"github-slugger": "^1.4.0",
"lodash": "^4.17.21",
"markdown-it": "^12.3.2",
"markdown-it-attrs": "^4.1.3",
"markdown-it-deflist": "^2.1.0",
"markdown-it-imsize": "^2.0.1",
"markdown-it-meta": "^0.0.1",
"markdown-it-sup": "^1.0.0",
"markdown-it-video": "^0.6.3",
"markdownlint": "^0.23.1",
"markdownlint-rule-helpers": "^0.14.0",
"postcss": "^8.4.5",
"slugify": "^1.6.5"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
"@babel/preset-env": "^7.16.8",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.0",
"@types/github-slugger": "^1.3.0",
"@types/highlight.js": "^10.1.0",
"@types/jest": "^27.4.0",
"@types/lodash": "^4.14.178",
"@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": "github:yandex-cloud/eslint-config",
"@yandex-cloud/prettier-config": "github:yandex-cloud/prettier-config",
"@yandex-cloud/tsconfig": "github:yandex-cloud/tsconfig",
"autoprefixer": "^10.4.2",
"babel-eslint": "^10.0.3",
"clean-css-cli": "^5.5.0",
"eslint": "^7.21.0",
"eslint-plugin-security": "^1.4.0",
"jest": "^27.4.7",
"node-sass": "^5.0.0",
"postcss-cli": "^8.3.1",
"prettier": "^2.5.1",
"regenerator-runtime": "^0.13.9",
"rollup": "^2.63.0",
"rollup-plugin-babel": "^4.4.0",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5",
"uglify-js": "^3.14.5"
},
"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"
]
}