-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
82 lines (82 loc) · 2.48 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
{
"name": "markdown-it-plugin-template",
"version": "0.2.1",
"description": "A template for creating a markdown-it plugin",
"author": "Chris Sewell",
"homepage": "https://github.com/executablebooks/markdown-it-plugin-template",
"license": "MIT",
"keywords": [
"markdown",
"markdown-it",
"markdown-it-plugin"
],
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"unpkg": "dist/index.umd.min.js",
"types": "dist/types/index.d.ts",
"files": [
"src",
"dist"
],
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"style": "./dist/css/style.min.css"
}
},
"scripts": {
"clean": "rimraf dist",
"format": "prettier --write src/**/*.ts tests/**/*.ts",
"lint": "eslint -c .eslintrc.yml --max-warnings 1 src/**/*.ts tests/**/*.ts",
"lint:fix": "eslint -c .eslintrc.yml --fix src/**/*.ts tests/**/*.ts",
"test": "jest",
"test:watch": "jest --watchAll",
"test:cov": "jest --coverage",
"build:bundles": "rollup -c",
"build:esm": "tsc --module es2015 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"declarations": "tsc --declaration --emitDeclarationOnly --outDir dist/types",
"build": "npm-run-all -l clean -p build:cjs build:esm build:bundles declarations",
"build:watch": "rollup -c -w; npm run sass -w",
"prepublishOnly": "npm run build"
},
"jest": {
"preset": "ts-jest"
},
"engines": {
"node": ">=12",
"npm": ">=6"
},
"peerDependencies": {
"markdown-it": "^12.3.2"
},
"devDependencies": {
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.3.0",
"@types/jest": "^29.2.5",
"@types/markdown-it": "^12.2.3",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.3.1",
"markdown-it": "^13.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.2",
"rimraf": "^3.0.2",
"rollup": "^3.9.1",
"rollup-plugin-typescript2": "^0.34.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}