UNPKG

@jakesidsmith/tsb

Version:

Dead simple TypeScript bundler, watcher, dev server, transpiler, and polyfiller

87 lines (86 loc) 2.81 kB
{ "name": "@jakesidsmith/tsb", "version": "3.0.0", "description": "Dead simple TypeScript bundler, watcher, dev server, transpiler, and polyfiller", "publishConfig": { "access": "public" }, "main": "dist/index.js", "bin": { "tsb": "dist/cli.js" }, "scripts": { "create-dotenv": "echo 'TEST=test' > .env", "test-build": "npm run create-dotenv && rm -rf dist && npm run dist && ./dist/cli.js build --config test-files/tsb.config.ts", "test-watch": "npm run create-dotenv && rm -rf dist && npm run dist && ./dist/cli.js watch --config test-files/tsb.config.ts", "test-serve": "npm run create-dotenv && rm -rf dist && npm run dist && ./dist/cli.js serve --config test-files/tsb.config.ts", "dist": "rm -rf dist && tsc --project tsconfig.dist.json && chmod +x dist/cli.js", "prettier": "prettier --write .", "lint": "prettier --check . && eslint '**/*.{js,jsx,ts,tsx}'", "typecheck": "tsc --noEmit && tsc --noEmit --project test-files/tsconfig.json", "test": "npm run typecheck && npm run lint", "prepublishOnly": "npm test && npm run dist" }, "repository": { "type": "git", "url": "git+https://github.com/jakesidsmith/tsb.git" }, "keywords": [ "typescript", "bundle", "bundler", "transpiler", "watch", "watcher", "dev", "server", "polyfill", "polyfiller" ], "author": "Jake 'Sid' Smith", "license": "MIT", "bugs": { "url": "https://github.com/jakesidsmith/tsb/issues" }, "homepage": "https://github.com/jakesidsmith/tsb#readme", "dependencies": { "@babel/core": "^7.12.7", "@babel/preset-env": "^7.12.7", "@types/babel__core": "^7.1.14", "@types/semver": "^7.3.4", "@types/webpack-dev-server": "^3.11.1", "babel-loader": "^9.1.2", "chalk": "^4.1.0", "core-js": "^3.7.0", "dotenv": "^8.2.0", "fork-ts-checker-webpack-plugin": "^6.0.3", "html-webpack-harddisk-plugin": "^2.0.0", "html-webpack-plugin": "^5.5.3", "jargs": "^0.4.7", "rimraf": "^3.0.2", "semver": "^7.3.2", "ts-loader": "^9.4.4", "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "^5.0.2", "webpack": "^5.88.1", "webpack-dev-server": "^3.11.3", "yup": "^0.30.0" }, "devDependencies": { "@pmmmwh/react-refresh-webpack-plugin": "^0.5.8", "@types/node": "^16.11.66", "@types/react": "^17.0.5", "@types/react-dom": "^17.0.3", "@types/rimraf": "^3.0.0", "@types/yup": "^0.29.9", "@typescript-eslint/eslint-plugin": "^5.40.0", "@typescript-eslint/parser": "^5.40.0", "eslint": "^8.25.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "prettier": "^2.7.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-svg-loader": "^3.0.3" } }