Skip to content

Commit 3e391b6

Browse files
committed
init
0 parents  commit 3e391b6

File tree

7 files changed

+92
-0
lines changed

7 files changed

+92
-0
lines changed

.fatherrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default {
2+
cjs: 'babel',
3+
esm: { type: 'babel', importLibToEs: true },
4+
preCommit: {
5+
eslint: true,
6+
prettier: true,
7+
},
8+
};

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.storybook
2+
.doc
3+
node_modules
4+
coverage/
5+
es/
6+
lib/
7+
~*
8+
yarn.lock
9+
package-lock.json

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# rc-virtual-list
2+
3+
React Virtual List Component which worked with `rc-animation`.

now.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": 2,
3+
"name": "rc-virtual-list",
4+
"builds": [
5+
{
6+
"src": "package.json",
7+
"use": "@now/static-build",
8+
"config": { "distDir": ".doc" }
9+
}
10+
]
11+
}

package.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"name": "rc-virtual-list",
3+
"version": "0.0.0-alpha.0",
4+
"description": "React Virtual List Component",
5+
"keywords": [
6+
"react",
7+
"react-component",
8+
"virtual-list"
9+
],
10+
"homepage": "https://github.com/react-component/virtual-list",
11+
"author": "[email protected]",
12+
"repository": {
13+
"type": "git",
14+
"url": "https://github.com/react-component/virtual-list.git"
15+
},
16+
"bugs": {
17+
"url": "https://github.com/react-component/virtual-list/issues"
18+
},
19+
"files": [
20+
"lib",
21+
"es",
22+
"dist",
23+
"assets/*.css"
24+
],
25+
"license": "MIT",
26+
"main": "./lib/index",
27+
"module": "./es/index",
28+
"scripts": {
29+
"start": "father doc dev --storybook",
30+
"build": "father doc build --storybook",
31+
"compile": "father build",
32+
"prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish",
33+
"lint": "eslint src/ --ext .tsx,.ts",
34+
"test": "father test",
35+
"now-build": "npm run build"
36+
},
37+
"peerDependencies": {
38+
"react": "*"
39+
},
40+
"devDependencies": {
41+
"@types/lodash": "^4.14.135",
42+
"@types/react": "^16.8.19",
43+
"@types/react-dom": "^16.8.4",
44+
"@types/warning": "^3.0.0",
45+
"enzyme": "^3.1.0",
46+
"enzyme-adapter-react-16": "^1.0.2",
47+
"enzyme-to-json": "^3.1.4",
48+
"father": "^2.13.2",
49+
"np": "^5.0.3",
50+
"react": "^v16.9.0-alpha.0",
51+
"react-dom": "^v16.9.0-alpha.0",
52+
"typescript": "^3.5.2"
53+
},
54+
"dependencies": {
55+
"async-validator": "^1.11.2",
56+
"lodash": "^4.17.4",
57+
"rc-util": "^4.6.0",
58+
"warning": "^4.0.3"
59+
}
60+
}

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default {};

tests/index.test.js

Whitespace-only changes.

0 commit comments

Comments
 (0)