1 | {
|
2 | "name": "unified",
|
3 | "version": "8.3.2",
|
4 | "description": "Interface for processing text using syntax trees",
|
5 | "license": "MIT",
|
6 | "keywords": [
|
7 | "process",
|
8 | "parse",
|
9 | "transform",
|
10 | "compile",
|
11 | "stringify",
|
12 | "rehype",
|
13 | "retext",
|
14 | "remark"
|
15 | ],
|
16 | "homepage": "https://unified.js.org",
|
17 | "repository": "unifiedjs/unified",
|
18 | "bugs": "https://github.com/unifiedjs/unified/issues",
|
19 | "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
20 | "contributors": [
|
21 | "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
22 | "Junyoung Choi <fluke8259@gmail.com>",
|
23 | "Hernan Rajchert <hrajchert@gmail.com>",
|
24 | "Christian Murphy <christian.murphy.42@gmail.com>",
|
25 | "Vse Mozhet Byt <vsemozhetbyt@gmail.com>",
|
26 | "Richard Littauer <richard.littauer@gmail.com>"
|
27 | ],
|
28 | "types": "types/index.d.ts",
|
29 | "files": [
|
30 | "types/index.d.ts",
|
31 | "index.js",
|
32 | "lib"
|
33 | ],
|
34 | "dependencies": {
|
35 | "bail": "^1.0.0",
|
36 | "extend": "^3.0.0",
|
37 | "is-plain-obj": "^2.0.0",
|
38 | "trough": "^1.0.0",
|
39 | "vfile": "^4.0.0"
|
40 | },
|
41 | "devDependencies": {
|
42 | "browserify": "^16.0.0",
|
43 | "dtslint": "^0.8.0",
|
44 | "nyc": "^14.0.0",
|
45 | "prettier": "^1.0.0",
|
46 | "remark-cli": "^6.0.0",
|
47 | "remark-preset-wooorm": "^5.0.0",
|
48 | "tape": "^4.0.0",
|
49 | "tinyify": "^2.5.1",
|
50 | "typescript": "^3.0.0",
|
51 | "xo": "^0.24.0"
|
52 | },
|
53 | "scripts": {
|
54 | "format": "remark . -qfo && prettier --write \"**/{*.js,*.ts}\" && xo --fix",
|
55 | "build-bundle": "browserify index.js -s unified -o unified.js",
|
56 | "build-mangle": "browserify index.js -s unified -p tinyify -o unified.min.js",
|
57 | "build": "npm run build-bundle && npm run build-mangle",
|
58 | "test-api": "node test",
|
59 | "test-coverage": "nyc --reporter lcov tape test",
|
60 | "test-types": "dtslint types",
|
61 | "test": "npm run format && npm run build && npm run test-coverage && npm run test-types"
|
62 | },
|
63 | "nyc": {
|
64 | "check-coverage": true,
|
65 | "lines": 100,
|
66 | "functions": 100,
|
67 | "branches": 100
|
68 | },
|
69 | "prettier": {
|
70 | "tabWidth": 2,
|
71 | "useTabs": false,
|
72 | "singleQuote": true,
|
73 | "bracketSpacing": false,
|
74 | "semi": false,
|
75 | "trailingComma": "none"
|
76 | },
|
77 | "xo": {
|
78 | "prettier": true,
|
79 | "esnext": false,
|
80 | "rules": {
|
81 | "guard-for-in": "off",
|
82 | "unicorn/prefer-type-error": "off"
|
83 | },
|
84 | "ignores": [
|
85 | "unified.js"
|
86 | ]
|
87 | },
|
88 | "remarkConfig": {
|
89 | "plugins": [
|
90 | "preset-wooorm"
|
91 | ]
|
92 | },
|
93 | "collective": {
|
94 | "type": "opencollective",
|
95 | "url": "https://opencollective.com/unified"
|
96 | }
|
97 | }
|