1 | {
|
2 | "name": "smarkdown",
|
3 | "description": "Markdown parser, simplicity and extensibility.",
|
4 | "author": "Yahtnif <yahtnif@gmail.com>",
|
5 | "version": "0.9.0",
|
6 | "main": "dist/smarkdown.js",
|
7 | "module": "dist/smarkdown.es.js",
|
8 | "jsnext:main": "dist/smarkdown.es.js",
|
9 | "browser": "dist/smarkdown.min.js",
|
10 | "typings": "dist/src/index.d.ts",
|
11 | "repository": "yahtnif/smarkdown",
|
12 | "homepage": "https://github.com/yahtnif/smarkdown",
|
13 | "license": "MIT",
|
14 | "keywords": [
|
15 | "commonmark",
|
16 | "smarkdown",
|
17 | "markdown",
|
18 | "markup",
|
19 | "parser",
|
20 | "html",
|
21 | "gfm"
|
22 | ],
|
23 | "scripts": {
|
24 | "build": "rollup --c",
|
25 | "pass": "jest && rollup --c && size-limit",
|
26 | "test": "jest",
|
27 | "version": "rollup --c"
|
28 | },
|
29 | "lint-staged": {
|
30 | "{src|__tests__}/**/*.{js,ts}": [
|
31 | "prettier --write",
|
32 | "git add"
|
33 | ]
|
34 | },
|
35 | "husky": {
|
36 | "hooks": {
|
37 | "pre-commit": "lint-staged && jest",
|
38 | "pre-push": "jest && rollup --c && size-limit"
|
39 | }
|
40 | },
|
41 | "size-limit": [
|
42 | {
|
43 | "limit": "10 KB",
|
44 | "path": "dist/smarkdown.min.js"
|
45 | }
|
46 | ],
|
47 | "prettier": {
|
48 | "arrowParens": "always",
|
49 | "semi": false,
|
50 | "singleQuote": true
|
51 | },
|
52 | "devDependencies": {
|
53 | "@types/fs-extra": "^5.0.4",
|
54 | "@types/jest": "^23.3.10",
|
55 | "@types/json5": "^0.0.30",
|
56 | "@types/klaw-sync": "^5.0.0",
|
57 | "fs-extra": "^7.0.1",
|
58 | "husky": "^1.2.0",
|
59 | "jest": "^23.6.0",
|
60 | "json5": "^2.1.0",
|
61 | "klaw-sync": "^6.0.0",
|
62 | "lint-staged": "^8.1.0",
|
63 | "prettier": "1.15.3",
|
64 | "rollup": "^0.67.4",
|
65 | "rollup-plugin-cleanup": "^3.0.0",
|
66 | "rollup-plugin-clear": "^2.0.7",
|
67 | "rollup-plugin-filesize": "^5.0.1",
|
68 | "rollup-plugin-license": "^0.7.0",
|
69 | "rollup-plugin-typescript2": "0.18.0",
|
70 | "rollup-plugin-uglify": "^6.0.0",
|
71 | "size-limit": "^0.21.0",
|
72 | "ts-jest": "^23.10.5",
|
73 | "typescript": "3.2.1"
|
74 | }
|
75 | }
|