-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
85 lines (85 loc) · 2.51 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
{
"name": "tree-crawl",
"version": "1.2.2",
"description": "Agnostic tree traversal library.",
"author": "Nicolas Gryman <ngryman@gmail.com> (http://ngryman.sh/)",
"license": "MIT",
"repository": "ngryman/tree-crawl",
"main": "dist/tree-crawl.js",
"browser": "dist/tree-crawl.js",
"module": "dist/tree-crawl.esm.js",
"jsnext:main": "index.js",
"types": "index.d.ts",
"engines": {
"node": ">=5"
},
"files": [
"index.js",
"index.d.ts",
"lib/",
"dist/"
],
"scripts": {
"lint": "eslint *.js {lib,test}/**/*.js",
"pretest": "npm run lint",
"test": "cross-env NODE_ENV=test nyc ava",
"debug": "cross-env NODE_ENV=debug inspect -r babel-register -r ./test/helpers/fixtures.js --debug-exception node_modules/ava/profile.js",
"docs": "documentation readme index.js lib/internal/context.js -c documentation.yml -s API",
"start": "meta dev",
"coverage": "nyc report --reporter=text-lcov | codecov",
"see-coverage": "nyc report --reporter=html && open coverage/index.html",
"check-coverage": "nyc check-coverage --lines 100 --functions 100 --branches 100",
"bundle": "cross-env NODE_ENV=build rollup -c",
"minify": "uglifyjs dist/tree-crawl.js -c -m --reserved-file .reserved --mangle-props -o dist/tree-crawl.min.js",
"build": "npm run bundle && npm run minify",
"prepublish": "npm run build",
"bench": "npm run bundle && node ./perf/bench.js",
"profile": "npm run bundle && devtool ./perf/profile.js",
"trace": "npm run bundle && node-irhydra ./perf/trace.js"
},
"keywords": [
"tree",
"n-ary tree",
"k-ary tree",
"n-way tree",
"multiway tree",
"rose tree",
"generic",
"agnostic",
"traverse",
"traversal",
"walk",
"visit",
"visitor",
"recursive",
"breadth first",
"preorder",
"postorder"
],
"ava": {
"require": [
"babel-register",
"./test/helpers/fixtures.js"
]
},
"devDependencies": {
"ava": "^0.22.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-istanbul": "^4.1.1",
"babel-preset-env": "^1.3.1",
"benchmark": "^2.1.3",
"clone": "^2.0.0",
"codecov": "^3.7.1",
"cross-env": "^7.0.3",
"documentation": "^5.3.3",
"eslint": "^4.9.0",
"eslint-config-ngryman": "^1.7.1",
"nyc": "^11.2.1",
"rollup": "^0.54.1",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-cleanup": "^1.0.0",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"uglify-js": "^3.0.0"
}
}