Skip to content

Commit a59bdf1

Browse files
committed
chore: update
1 parent 999f6d3 commit a59bdf1

21 files changed

+10600
-82
lines changed

.babelrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"presets": [["env", { "modules": false }], "react", "stage-2"],
3+
"env": {
4+
"test": {
5+
"presets": ["env", "stage-2"]
6+
}
7+
}
8+
}

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

.gitignore

Lines changed: 12 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,13 @@
1-
# Logs
2-
logs
1+
/node_modules
2+
coverage/
33
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
8-
# Runtime data
9-
pids
10-
*.pid
11-
*.seed
12-
*.pid.lock
13-
14-
# Directory for instrumented libs generated by jscoverage/JSCover
15-
lib-cov
16-
17-
# Coverage directory used by tools like istanbul
18-
coverage
19-
20-
# nyc test coverage
21-
.nyc_output
22-
23-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24-
.grunt
25-
26-
# Bower dependency directory (https://bower.io/)
27-
bower_components
28-
29-
# node-waf configuration
30-
.lock-wscript
31-
32-
# Compiled binary addons (https://nodejs.org/api/addons.html)
33-
build/Release
34-
35-
# Dependency directories
36-
node_modules/
37-
jspm_packages/
38-
39-
# TypeScript v1 declaration files
40-
typings/
41-
42-
# Optional npm cache directory
43-
.npm
44-
45-
# Optional eslint cache
46-
.eslintcache
47-
48-
# Optional REPL history
49-
.node_repl_history
50-
51-
# Output of 'npm pack'
52-
*.tgz
53-
54-
# Yarn Integrity file
55-
.yarn-integrity
56-
57-
# dotenv environment variables file
58-
.env
59-
60-
# next.js build output
61-
.next
4+
npm-debug.log
5+
.logs/
6+
logs/
7+
run/
8+
.idea/
9+
.DS_Store
10+
.tmp/
11+
.vscode/
12+
/public/assets/
13+
/dist

.npmignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.git
2+
CVS
3+
.svn
4+
.hg
5+
.lock-wscript
6+
.wafpickle-N
7+
.*.swp
8+
.DS_Store
9+
._*
10+
npm-debug.log
11+
.npmrc
12+
node_modules
13+
config.gypi
14+
*.orig
15+
example
16+
public
17+
config
18+
yarn.lock
19+
package-lock.json
20+
src
21+
tools

.prettierrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"singleQuote": true,
3+
"indent": 2,
4+
"trailingComma": "all",
5+
"printWidth": 100,
6+
"overrides": [
7+
{
8+
"files": ".prettierrc",
9+
"options": {
10+
"parser": "json"
11+
}
12+
}
13+
]
14+
}

.tslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build/*.js
2+
dist/*.js
3+
temp/*.js
4+
examples/*.js
5+
rollup.config.*.js

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
<a name="0.2.0"></a>
6+
# [0.2.0]() (2018-03-12)
7+
8+
9+
### Features
10+
11+
* 项目初始化
12+
* 提供 logo 和 title
13+
14+
15+
<a name="0.1.0"></a>
16+
# [0.2.1]() (2018-03-13)
17+
18+
19+
### Features
20+
21+
* 本地开发打包优化

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
# react-css-tooltip
1+
## react-cc-tooltip
2+

__test__/index.test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import YourLibraryName from '..';
2+
3+
describe('Group One', () => {
4+
test('case-1', () => {
5+
expect(YourLibraryName.foo(1)).toBe(3.14);
6+
});
7+
});

0 commit comments

Comments
 (0)