diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0021b4f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +dist/** \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..fb38cf6 --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "name": "@lightweight-sdk/web-component", + "version": "0.0.1", + "description": "A lightweight library to build web components easily", + "scripts": { + "build": "tsc -b" + }, + "main": "dist/index.js", + "types": "dist/index.d.ts", + "files": [ + "/dist" + ], + "keywords": [], + "author": "kyuno", + "license": "ISC" +} \ No newline at end of file diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..ad21821 --- /dev/null +++ b/src/index.ts @@ -0,0 +1 @@ +console.log("hello world") \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..c8cf877 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "module": "CommonJS", + "target": "ES2019", + "declaration": true, + "outDir": "./dist", + "experimentalDecorators": true + }, + "include": [ + "src/**/*" + ] +} \ No newline at end of file