Skip to content

Commit 41534b5

Browse files
Initial commit
0 parents  commit 41534b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+40505
-0
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/preset-env", "@babel/preset-react"]
3+
}

.gitignore

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Logs
2+
logs
3+
*.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+
dist/
38+
jspm_packages/
39+
40+
# TypeScript v1 declaration files
41+
typings/
42+
43+
# Optional npm cache directory
44+
.npm
45+
46+
# Optional eslint cache
47+
.eslintcache
48+
49+
# Optional REPL history
50+
.node_repl_history
51+
52+
# Output of 'npm pack'
53+
*.tgz
54+
55+
# Yarn Integrity file
56+
.yarn-integrity
57+
58+
# dotenv environment variables file
59+
.env
60+
61+
# next.js build output
62+
.next

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Topcoder - Navigation Component
2+
3+
## Install dependencies
4+
5+
Run `npm install` to install the dependencies
6+
7+
## Build module
8+
9+
To build the module, run `npm run build`
10+
11+
## Usage
12+
13+
```shell
14+
# Go to other project which depends on the community-nav-prototype, config its package.json so
15+
# that the 'community-nav-prototype' points to the local foler path of community-nav-prototype:
16+
#
17+
# "dependencies": {
18+
# "community-nav-prototype": "<local-path-to-community-nav-prototype>",
19+
# ......
20+
# }
21+
#
22+
```

example/.gitignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

example/README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
### Development
2+
# Install dependencies
3+
npm install
4+
5+
# Run build
6+
npm start
7+
8+
# Example
9+
Example is in `src/App.js`
10+
11+
```shell
12+
# Config its package.json so
13+
# that the 'community-nav-prototype' points to the local foler path of community-nav-prototype:
14+
#
15+
# "dependencies": {
16+
# "community-nav-prototype": "<local-path-to-community-nav-prototype>",
17+
# ......
18+
# }
19+
#
20+
```
21+

0 commit comments

Comments
 (0)