-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 1.96 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
{
"name": "smarkdown",
"description": "Markdown parser, simplicity and extensibility.",
"author": "Yahtnif <yahtnif@gmail.com>",
"version": "1.1.0",
"main": "dist/smarkdown.js",
"module": "dist/smarkdown.es.js",
"jsnext:main": "dist/smarkdown.es.js",
"browser": "dist/smarkdown.min.js",
"typings": "dist/src/index.d.ts",
"repository": "yahtnif/smarkdown",
"homepage": "https://github.com/yahtnif/smarkdown",
"license": "Anti 996",
"keywords": [
"extensions",
"commonmark",
"smarkdown",
"markdown",
"markup",
"parser",
"html",
"gfm"
],
"scripts": {
"build": "rollup --c",
"pass": "jest && rollup --c && size-limit",
"test": "jest",
"version": "rollup --c",
"lint": "prettier --write {src,__tests__}/{**/*,*}.{ts,js}"
},
"lint-staged": {
"{src|__tests__}/**/*.{js,ts}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && jest",
"pre-push": "jest && rollup --c && size-limit"
}
},
"size-limit": [
{
"limit": "10 KB",
"path": "dist/smarkdown.min.js"
}
],
"prettier": {
"semi": true,
"singleQuote": true
},
"engines": {
"node": ">=8"
},
"files": [
"dist/*.js",
"dist/src/*.d.ts"
],
"devDependencies": {
"@size-limit/preset-small-lib": "^4.4.4",
"@types/fs-extra": "^8.1.0",
"@types/jest": "^25.1.4",
"@types/json5": "^0.0.30",
"@types/klaw-sync": "^6.0.0",
"fs-extra": "^9.0.0",
"husky": "^4.2.3",
"jest": "^25.2.6",
"json5": "^2.1.2",
"klaw-sync": "^6.0.0",
"lint-staged": "^10.1.1",
"prettier": "2.0.2",
"rollup": "^2.3.2",
"rollup-plugin-cleanup": "^3.1.1",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-filesize": "^6.1.1",
"rollup-plugin-license": "^0.13.0",
"rollup-plugin-typescript2": "0.27.0",
"rollup-plugin-uglify": "^6.0.4",
"size-limit": "^4.4.4",
"ts-jest": "^25.3.0",
"typescript": "3.8.3"
}
}