@kjn/ts-boilerplate
Version:
Lets do a proper setup for a ts project for the **last time**. This repo will function as a boilerplate for every ts browser project to come.
74 lines (73 loc) • 2.23 kB
JSON
{
"name": "@kjn/ts-boilerplate",
"version": "0.9.0",
"description": "Lets do a proper setup for a ts project for the **last time**. This repo will function as a boilerplate for every ts browser project to come.",
"main": "./dist/cjs/index.js",
"module": "./dist/mjs/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist/**/*"
],
"scripts": {
"prepare": "husky install",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"lint:prettier": "prettier --check .",
"lint:prettier:fix": "prettier --write .",
"lint-staged": "lint-staged",
"dev": "parcel dev.html --dist-dir ./build-dev",
"build": "npm run build:cjs && npm run build:mjs && npm run build:types",
"build:cjs": "tsc --pretty -p tsconfig-cjs.json",
"build:mjs": "tsc --pretty -p tsconfig-mjs.json",
"build:types": "tsc --pretty -p tsconfig.json",
"clean": "rimraf dist",
"build:dist": "cp -R build dist",
"prepublishOnly": "run-s clean build build:dist",
"update:dependencies": "npm-upgrade",
"release": "standard-version",
"semantic-release": "semantic-release"
},
"author": "Kishan Nirghin <kishan@itslogical.nl>",
"keywords": [
"Boilerplate",
"Dev setup",
"Typescript",
"Publishing",
"Linting"
],
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@semantic-release/git": "^10.0.1",
"@types/node": "^18.14.2",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.2",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"npm-upgrade": "^3.1.0",
"parcel": "^2.8.0",
"prettier": "^2.8.0",
"rimraf": "^4.1.2",
"semantic-release": "^20.1.0",
"standard-version": "^9.5.0",
"typescript": "^4.9.3"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/Kishanjay/kjn-ts-boilerplate.git"
}
}