Project boilerplate from eunikitin/modern-package-boilerplate
This commit is contained in:
3
web3.js/src/examples/flow.js
Normal file
3
web3.js/src/examples/flow.js
Normal file
@@ -0,0 +1,3 @@
|
||||
// @flow
|
||||
|
||||
export default (a: number, b: number): number => (a + b);
|
13
web3.js/src/examples/modern.js
Normal file
13
web3.js/src/examples/modern.js
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
export default () => (
|
||||
'\n' +
|
||||
' \x1b[42m\x1b[30m \n\x1b[0m' +
|
||||
' \x1b[42m\x1b[30m Thank you for using this boilerplate! \n\x1b[0m' +
|
||||
' \x1b[42m\x1b[30m \n\x1b[0m' +
|
||||
'\n' +
|
||||
' Getting started\n\n' +
|
||||
' 1. Clone the repo from github (https://github.com/eunikitin/modern-package-boilerplate.git)\n' +
|
||||
' 2. Inside the repo directory run npm install && rm -r .git && git init\n' +
|
||||
' 3. Update package.json with your information' +
|
||||
'\n'
|
||||
);
|
5
web3.js/src/index.js
Normal file
5
web3.js/src/index.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import thankYou from 'examples/modern';
|
||||
|
||||
export const modern = thankYou;
|
||||
|
||||
console.log(thankYou());
|
Reference in New Issue
Block a user