Skip to content

yusabana-sandbox/es-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECMAScript practice

  • initialize
ndenv install v6.2.2
ndenv local v6.2.2
ndenv rehash

npm install --save-dev babel-cli babel-preset-es2015 eslint
mkdir {src,dist}
  • add .babelrc

  • add .eslintrc

  • add npm-script build and watch

  • You can write src/app.js. After that, You can do "npm run build". Then dist/app.js will be built.

  • You can execute "node dist/app.js"

es2015

eslint

references for parserOptions, etc. http://eslint.org/docs/user-guide/configuring#specifying-parser-options

execute src scripts

ソースを直接ビルドして実行する

% yarn babel-node src/app.js

About

My ECMAScript practice

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published