Skip to content

helvenk/notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notes

Something to keep in memory.

中文

HTML

drag element round corner

transform: translate(0, 0);

Node

Develop with Typescript

Develop on node.js with Typescript using babel-node instead of ts-node(not working well).

Not meant for production use.

Example
  • add deps
yarn add @babel/node @babel/core @babel/preset-env @babel/preset-typescript nodemon -D
  • add config in package.json
"babel": {
  "presets": [
    "@babel/preset-env",
    "@babel/preset-typescript"
  ]
}
  • use command
nodemon --exec babel-node ./src/index.ts --extensions .ts

About

Something to keep in memory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published