first
Showing
.eslintignore
0 → 100644
.eslintrc.js
0 → 100644
.gitignore
0 → 100644
.gitlab-ci.yml
0 → 100644
.npmignore
0 → 100644
.prettierrc
0 → 100644
LICENSE
0 → 100644
jsx-runtime/index.ts
0 → 100644
package-lock.json
0 → 100644
This diff is collapsed.
package.json
0 → 100644
{ | ||
"name": "satori-tsx", | ||
"description": "TSX support package for Satori element.", | ||
"version": "1.0.0", | ||
"main": "jsx-runtime/index.js", | ||
"types": "jsx-runtime/index.d.ts", | ||
"scripts": { | ||
"lint": "eslint --fix .", | ||
"build": "rimraf dist && tsc", | ||
"test": "jest --passWithNoTests", | ||
"start": "node dist/index.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://code.mycard.moe/3rdeye/satori-tsx.git" | ||
}, | ||
"author": "Nanahira <nanahira@momobako.com>", | ||
"license": "MIT", | ||
"keywords": [], | ||
"bugs": { | ||
"url": "https://code.mycard.moe/3rdeye/satori-tsx/issues" | ||
}, | ||
"homepage": "https://code.mycard.moe/3rdeye/satori-tsx", | ||
"jest": { | ||
"moduleFileExtensions": [ | ||
"js", | ||
"json", | ||
"ts", | ||
"tsx" | ||
], | ||
"rootDir": "tests", | ||
"testRegex": ".*\\.spec\\.tsx?$", | ||
"transform": { | ||
"^.+\\.(t|j)sx?$": "ts-jest" | ||
}, | ||
"collectCoverageFrom": [ | ||
"**/*.(t|j)sx?" | ||
], | ||
"coverageDirectory": "../coverage", | ||
"testEnvironment": "node" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^29.0.1", | ||
"@types/node": "^18.7.17", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^3.4.1", | ||
"jest": "^29.0.3", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^29.0.0", | ||
"typescript": "^4.8.3" | ||
}, | ||
"peerDependencies": { | ||
"@satorijs/element": "^1.1.0" | ||
} | ||
} |
tests/sample.spec.tsx
0 → 100644
tsconfig.json
0 → 100644
Please register or sign in to comment