forked from cheton/infinite-tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 3.06 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
{
"name": "infinite-tree",
"version": "1.16.1",
"description": "A browser-ready tree library that can efficiently display a large amount of data using infinite scrolling.",
"homepage": "https://github.com/cheton/infinite-tree",
"main": "lib/index.js",
"scripts": {
"prepublish": "npm run lint && npm test && npm run build && npm run dist && npm run stylus && npm run build-examples && npm run release",
"build": "babel --out-dir ./lib ./src",
"build-examples": "cd examples; NODE_ENV=production webpack",
"pack-examples": "npm run build-examples && zip -r examples.zip examples/{dist,vendor,*.html,*.css}",
"test": "tap test/*.js --no-timeout --node-arg=--require --node-arg=babel-register --node-arg=--require --node-arg=babel-polyfill",
"dist": "webpack; BUILD_ENV=dist webpack",
"release": "mkdir -p releases; rm -f releases/*; cp -f dist/infinite-tree.css releases/infinite-tree-${npm_package_version}.css; cp -f dist/infinite-tree.js releases/infinite-tree-${npm_package_version}.js; cp -f dist/infinite-tree.min.js releases/infinite-tree-${npm_package_version}.min.js",
"lint": "npm run eslint && npm run stylint",
"eslint": "eslint ./src",
"stylint": "stylint src/*.styl",
"stylus": "stylus -u nib < src/index.styl > dist/infinite-tree.css",
"coveralls": "tap test/*.js --coverage --coverage-report=text-lcov --nyc-arg=--require --nyc-arg=babel-register --nyc-arg=--require --nyc-arg=babel-polyfill | coveralls",
"dev": "cd examples; NODE_ENV=development webpack-dev-server --hot --inline --host 0.0.0.0 --port 8000 --content-base ../docs"
},
"author": "Cheton Wu <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cheton/infinite-tree.git"
},
"keywords": [
"flat",
"flatten",
"flattree",
"large",
"scroll",
"tree"
],
"dependencies": {
"classnames": "^2.2.5",
"element-class": "^0.2.2",
"escape-html": "^1.0.3",
"flattree": "^0.10.0",
"html5-tag": "^0.3.0",
"is-dom": "^1.0.9"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-loader": "^7.1.4",
"babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
"babel-plugin-transform-es3-property-literals": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-0": "^6.24.1",
"coveralls": "^3.0.0",
"css-loader": "^0.28.11",
"eslint": "^4.19.1",
"eslint-config-trendmicro": "^1.3.0",
"eslint-import-resolver-webpack": "^0.8.4",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"file-loader": "^1.1.11",
"jsdom": "^11.6.2",
"json-loader": "^0.5.7",
"lodash": "^4.17.5",
"nib": "^1.1.2",
"style-loader": "^0.20.3",
"stylint": "^1.5.9",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"tap": "^11.1.3",
"url-loader": "^1.0.1",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.11.0"
},
"nyc": {
"exclude": []
}
}