forked from remarkjs/remark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.58 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
{
"name": "remark",
"private": true,
"license": "MIT",
"homepage": "https://remark.js.org",
"repository": "https://github.com/remarkjs/remark",
"bugs": "https://github.com/remarkjs/remark/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"devDependencies": {
"bail": "^1.0.0",
"browserify": "^16.0.0",
"camelcase": "^5.0.0",
"clone": "^2.0.0",
"dtslint": "^2.0.0",
"execa": "^3.0.0",
"lerna": "^3.0.0",
"mdast-util-assert": "^2.0.0",
"mdast-util-compact": "^1.0.0",
"mdast-zone": "^3.0.0",
"nyc": "^14.0.0",
"prettier": "^1.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.0.0",
"tinyify": "^2.0.0",
"typescript": "^3.0.0",
"unified": "^8.0.0",
"unist-builder": "^2.0.0",
"unist-util-remove-position": "^1.0.0",
"unist-util-visit": "^2.0.0",
"vfile": "^4.0.0",
"wcwidth": "^1.0.0",
"xo": "^0.25.0"
},
"scripts": {
"postinstall": "lerna bootstrap --no-ci",
"format": "packages/remark-cli/cli.js . -qfo && prettier --write \"**/*.{js,ts}\" && xo --fix",
"build-bundle": "browserify packages/remark -s remark > remark.js",
"build-mangle": "browserify packages/remark -s remark -p tinyify > remark.min.js",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "tape \"packages/*/test.js\" \"test/index.js\"",
"test-api-extensive": "TEST_EXTENDED=true npm run test-api",
"test-coverage": "nyc --reporter lcov tape \"test/index.js\" \"packages/*/test.js\"",
"test-types": "dtslint packages/remark-parse/types && dtslint packages/remark-stringify/types && dtslint packages/remark/types",
"test": "npm run format && npm run build && npm run test-coverage && npm run test-types"
},
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"prettier": true,
"esnext": false,
"rules": {
"unicorn/prefer-type-error": "off",
"unicorn/prefer-reflect-apply": "off",
"unicorn/prefer-includes": "off",
"eqeqeq": [
"error",
"always",
{
"null": "ignore"
}
],
"guard-for-in": "off",
"max-depth": "off",
"complexity": "off",
"no-eq-null": "off"
},
"ignores": [
"remark.js"
]
},
"remarkConfig": {
"plugins": [
"./script/list-of-methods",
"preset-wooorm"
]
}
}