Skip to content

Commit

Permalink
Merge pull request #4 from js-template/zelal
Browse files Browse the repository at this point in the history
Zelal
  • Loading branch information
zelal-dev authored Jan 24, 2023
2 parents d97b02c + 755b7e2 commit 5a86cb8
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 37 deletions.
Binary file modified .DS_Store
Binary file not shown.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ coverage
# next.js
.next/
out/
build/
dist/
build*
dist*


# misc
.DS_Store
Expand Down
13 changes: 2 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,10 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint *.ts*",
"build": "tsup & tailwindcss -i ./styles/globals.css -o ./dist/styles.css --minify",
"dev": "tsup -w & tailwindcss -i ./styles/globals.css -o ./dist/styles.css --minify -w"
"build": "tsc & tailwindcss -i ./styles/globals.css -o ./dist/styles.css --minify",
"dev": "tsc -w & tailwindcss -i ./styles/globals.css -o ./dist/styles.css --minify -w"
},
"devDependencies": {
"@types/react": "^18.0.17",
Expand All @@ -24,7 +16,6 @@
"eslint": "^7.32.0",
"postcss": "^8.4.18",
"tailwindcss": "^3.2.2",
"tsup": "^6.5.0",
"typedoc": "^0.23.24",
"typescript": "^4.5.2"
},
Expand Down
27 changes: 12 additions & 15 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
{
"compilerOptions": {
"target": "ES6",
"module": "commonjs",
"outDir": "dist",
"baseUrl": "src",
"lib": ["dom", "dom.iterable", "esnext"],
"declaration": true,
"allowJs": true,
"skipLibCheck": true,
"emitDeclarationOnly": true,
"target": "esnext",
"module": "esnext",
"lib": ["esnext", "dom"],
"strict": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"incremental": true,
"declarationMap": true,
"jsx": "react-jsx"
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"outDir": "dist",
"rootDir": "src",
"sourceMap": true,
"declaration": true,
"jsx": "react",
"moduleResolution": "node"
},
"include": ["src/**/*"],
"typedocOptions": {
Expand Down
9 changes: 0 additions & 9 deletions tsup.config.ts

This file was deleted.

Empty file added yarn.lock
Empty file.

0 comments on commit 5a86cb8

Please sign in to comment.