@hodgef/ts-library-boilerplate-basic
Version:
Typescript Minimal Starter Kit for building libraries
78 lines (77 loc) • 2.33 kB
JSON
{
"name": "@hodgef/ts-library-boilerplate-basic",
"version": "1.1.336",
"description": "Typescript Minimal Starter Kit for building libraries",
"main": "build/index.js",
"types": "build/types/index.d.ts",
"scripts": {
"start": "webpack serve --config webpack.config.demo.js",
"build": "webpack && tsc",
"build:demo": "webpack --config webpack.config.demo.js",
"test": "jest --silent",
"coverage": "npm run test -- --coverage",
"prepare": "npm run build",
"trypublish": "npm publish || true"
},
"repository": {
"type": "git",
"url": "https://github.com/hodgef/ts-library-boilerplate-basic"
},
"author": "Francisco Hodge <hello@franciscohodge.com> (https://github.com/hodgef)",
"license": "MIT",
"bugs": {
"url": "https://github.com/hodgef/ts-library-boilerplate-basic/issues"
},
"homepage": "https://github.com/hodgef/ts-library-boilerplate-basic",
"keywords": [
"library",
"starter",
"es6"
],
"devDependencies": {
"@babel/cli": "^7.27.2",
"@babel/core": "^7.27.4",
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@babel/plugin-transform-typescript": "^7.27.1",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.27.2",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^10.0.0",
"babel-preset-minify": "^0.5.2",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.2",
"eslint": "^7.32.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.3",
"jest": "^30.0.0",
"mini-css-extract-plugin": "^2.9.2",
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.3.14",
"typescript": "^4.9.5",
"url-loader": "^4.1.1",
"webpack": "^5.99.9",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "4.13.3"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/scripts/testMock.js",
"\\.(css|less)$": "<rootDir>/scripts/testMock.js"
},
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
]
}
}