Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dejurin committed May 13, 2024
1 parent eff6ec3 commit 3544188
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 54 deletions.
10 changes: 0 additions & 10 deletions index.d.ts

This file was deleted.

36 changes: 0 additions & 36 deletions index.js

This file was deleted.

14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "@qit.tools/skin-tone",
"version": "0.2.0",
"version": "0.3.2",
"description": "Change emoji skin tones effortlessly. πŸ§›πŸ§›πŸ»πŸ§›πŸΌπŸ§›πŸ½πŸ§›πŸΎπŸ§›πŸΏ",
"types": "./dist/types/index.d.ts",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
".": {
"import": "./dist/esnext/index.js",
"types": "./dist/types/index.d.ts"
}
},
"files": ["index.js", "index.d.ts"],
"files": ["./dist/esnext/index.js", "./dist/types/index.d.ts"],
"scripts": {
"build": "npm test && tsc",
"build": "npm run fmt && npm test && tsc -p tsconfig.esnext.json",
"test": "vitest run",
"test:watch": "vitest",
"download": "ts-node scripts/download-emoji.ts",
Expand Down Expand Up @@ -66,5 +69,6 @@
"type": "git",
"url": "git+https://github.com/Qit-tools/skin-tone.git"
},
"type": "module",
"license": "MIT"
}
13 changes: 13 additions & 0 deletions tsconfig.esnext.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"compilerOptions": {
"module": "ESNext",
"target": "ES6",
"moduleResolution": "node",
"esModuleInterop": true,
"outDir": "./dist/esnext",
"declaration": true,
"declarationDir": "./dist/types"
},
"include": ["index.ts"],
"exclude": ["node_modules", "./tests/*.test.ts"]
}
4 changes: 1 addition & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"compilerOptions": {
"module": "ESNext",
"module": "CommonJS",
"target": "ES6",
"esModuleInterop": true,
"moduleResolution": "node",
"declaration": true,
"declarationDir": ".",
"outDir": ".",
"rootDir": ".",
"baseUrl": ".",
Expand Down

0 comments on commit 3544188

Please sign in to comment.