tsbunch
Version:
A VERY basic TypeScript bundler that doesn't compile to JS
147 lines (146 loc) • 3.08 kB
JSON
{
"name": "tsbunch",
"version": "0.4.25",
"description": "A VERY basic TypeScript bundler that doesn't compile to JS",
"keywords": [
"typescript",
"bundler",
"codingame"
],
"author": "Zweihänder",
"homepage": "https://www.zweisolutions.com/",
"main": "index.js",
"license": "MIT",
"bugs": {
"url": "https://github.com/Zweihander-Main/TSBunch/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/Zweihander-Main/TSBunch.git"
},
"scripts": {
"build": "tsc",
"test": "npm run build && jest --no-cache",
"test:watch": "jest --watch --no-cache",
"update:packages": "ncu -u && npm install && bump patch --commit 'chore(package): update packages; v%s' --tag --push && npm publish",
"prepare": "husky install"
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"coverageDirectory": "coverage",
"roots": [
"<rootDir>/src/"
],
"testEnvironment": "node",
"moduleNameMapper": {
"^.+\\.hbs$": "<rootDir>/src/__mocks__/hbsMock.js"
},
"preset": "ts-jest"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"node": true
},
"parserOptions": {
"project": "tsconfig.json",
"ecmaVersion": 2019,
"ecmaFeatures": {
"jsx": true
},
"useJSXTextNode": true
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier",
"prettier/@typescript-eslint"
],
"rules": {
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"no-console": [
"error",
{
"allow": [
"warn",
"error",
"debug"
]
}
],
"no-mixed-spaces-and-tabs": [
"error",
"smart-tabs"
]
}
},
"eslintIgnore": [
"**/__*__/**/*.*"
],
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 4,
"useTabs": true,
"arrowParens": "always"
},
"browserslist": [
"maintained node versions"
],
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-typescript"
]
},
"dependencies": {
"@typescript-eslint/typescript-estree": "^7.1.1",
"node-source-walk": "^6.0.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-typescript": "^7.23.3",
"@babel/register": "^7.23.7",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"babel-jest": "^29.7.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-mock-console": "^2.0.0",
"npm-check-updates": "^16.14.15",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"version-bump-prompt": "^6.1.0"
}
}