UNPKG

@maskedeng-tom/ssrsx

Version:
75 lines (74 loc) 2.22 kB
{ "name": "@maskedeng-tom/ssrsx", "version": "0.5.10", "description": "server side renderer with tsx", "keywords": [ "html", "ssr", "server", "side", "rendering", "jsx", "tsx", "koa", "express" ], "main": "index.js", "types": "index.d.ts", "author": "Maskedeng Tom", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/maskedeng-tom/ssrsx.git" }, "scripts": { "release": "npm version patch && npm run build && cd dist && npm publish && cd ..", "build": "rimraf ./dist && tsc --project tsconfig.build.json && npm run mod-dist && npm run build-cp", "build-cp": "cp -r src/core/client dist/src/core/ && cp ssrsx.d.ts dist/ && cp package.json dist/ && cp jsx/package.json dist/jsx/&& cp README.md dist", "mod-dist": "echo '/// <reference path=\"./ssrsx.d.ts\" />' > data.tmp; cat dist/index.d.ts >> data.tmp; cat data.tmp > dist/index.d.ts && rm data.tmp", "start": "nodemon", "test": "jest" }, "dependencies": { "debug": "^4.3.4", "mime-types": "^2.1.35", "path-to-regexp": "^6.2.1", "ssrsxjsx": "file:jsx", "uglify-js": "^3.17.4", "ws": "^8.16.0" }, "devDependencies": { "@types/debug": "^4.1.12", "@types/express": "^4.17.21", "@types/express-session": "^1.18.0", "@types/jest": "^29.5.12", "@types/jquery": "^3.5.29", "@types/koa": "^2.15.0", "@types/koa-bodyparser": "^4.3.12", "@types/koa-helmet": "^6.0.8", "@types/koa-session": "^6.4.5", "@types/mime-types": "^2.1.4", "@types/uglify-js": "^3.17.5", "@types/uuid": "^9.0.8", "@types/ws": "^8.5.10", "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.1", "eslint": "^8.57.0", "eslint-plugin-react": "^7.34.0", "eslint-plugin-react-hooks": "^4.6.0", "express": "^4.18.3", "express-session": "^1.18.0", "helmet": "^7.1.0", "jest": "^29.7.0", "jquery": "^3.7.1", "koa": "^2.15.0", "koa-bodyparser": "^4.4.1", "koa-helmet": "^7.0.2", "koa-session": "^6.4.0", "nodemon": "^3.1.0", "rimraf": "^5.0.5", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "uuid": "^9.0.1" } }