Skip to content

Instantly share code, notes, and snippets.

@amitdahan
Created September 17, 2018 07:33
Show Gist options
  • Save amitdahan/0a571323da388668d1b88649c2b9d435 to your computer and use it in GitHub Desktop.
Save amitdahan/0a571323da388668d1b88649c2b9d435 to your computer and use it in GitHub Desktop.
ES-Check example
export const name = 'Amit';
import { name } from './data';
console.log(`Hello!!! ${name}`);
{
"name": "tmp",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "tsc",
"test": "es-check es5 --module true './dist/*.js'"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"es-check": "^4.0.0",
"typescript": "^3.0.3"
}
}
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"esModuleInterop": true,
"outDir": "./dist"
},
"files": [
"./index.ts"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment