-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
78 lines (78 loc) · 2.98 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
{
"name": "infinite-tree",
"version": "1.18.0",
"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-cli",
"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 --reporter classic",
"dist": "webpack-cli; BUILD_ENV=dist webpack-cli",
"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.11.1",
"html5-tag": "^0.3.0",
"is-dom": "^1.1.0",
"events": "^3.3.0"
},
"devDependencies": {
"@babel/cli": "~7.6.0",
"@babel/core": "~7.6.0",
"@babel/node": "~7.6.1",
"@babel/polyfill": "~7.6.0",
"@babel/preset-env": "~7.6.0",
"@trendmicro/babel-config": "~1.0.0-alpha",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"coveralls": "^3.0.6",
"css-loader": "^3.2.0",
"eslint": "^6.3.0",
"eslint-config-trendmicro": "^1.4.1",
"eslint-loader": "^3.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"jsdom": "^15.1.1",
"lodash": "^4.17.15",
"nib": "^1.1.2",
"style-loader": "^1.0.0",
"stylint": "^2.0.0",
"stylus": "^0.54.7",
"stylus-loader": "^3.0.2",
"tap": "^14.6.1",
"url-loader": "^2.1.0",
"webpack": "^4.39.3",
"webpack-cli": "^3.3.8",
"webpack-dev-server": "^3.8.0"
},
"nyc": {
"exclude": []
}
}