multipassify-ts
Version:
This is an example TypeScript Package ready to be published on npm. It has been set up with automated tests and package publishing workflow using GitHub Actions CI/CD. It is made primarily for GitHub + VS Code (Windows / Mac / Linux) users who are about t
77 lines (76 loc) • 2.77 kB
JSON
{
"name": "multipassify-ts",
"version": "0.0.1",
"description": "This is an example TypeScript Package ready to be published on npm. It has been set up with automated tests and package publishing workflow using GitHub Actions CI/CD. It is made primarily for GitHub + VS Code (Windows / Mac / Linux) users who are about to write and publish their first TypeScript npm package. This package could serve as a starter / boilerplate / demo for them.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"umd:main": "dist/umd/index.js",
"types": "dist/types/index.d.js",
"directories": {
"test": "test"
},
"scripts": {
"_postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"build": "npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
"build:cjs": "node tools/cleanup cjs && tsc -p config/tsconfig.cjs.json",
"build:esm": "node tools/cleanup esm && tsc -p config/tsconfig.esm.json",
"build:umd": "node tools/cleanup umd && webpack --config config/webpack.config.js",
"build:types": "node tools/cleanup types && tsc -p config/tsconfig.types.json",
"clean": "node tools/cleanup",
"lint": "eslint --ignore-path .prettierignore \"./src/**/*.ts\"",
"format": "prettier \"src/**/*.ts\"",
"format:write": "npm run format -- -w",
"format:check": "npm run format -- --check",
"package": "npm run build && npm pack",
"test": "jest --no-cache --runInBand",
"test:cov": "jest --coverage --no-cache --runInBand",
"addscope": "node tools/packagejson name @sjcobb2022/multipassify-ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sjcobb2022/multipassify-ts.git"
},
"keywords": [
"shopify",
"Shopify",
"multipass",
"typescript",
"tsc",
"esm",
"cjs",
"umd",
"npm",
"package"
],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/sjcobb2022/multipassify-ts/issues"
},
"homepage": "https://github.com/sjcobb2022/multipassify-ts#readme",
"dependencies": {
"@types/node": "^18.11.0",
"crypto-browserify": "^3.12.0"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.2",
"jest": "^27.2.0",
"pinst": "^2.1.6",
"prettier": "^2.4.0",
"ts-jest": "^27.0.5",
"ts-loader": "^9.2.5",
"typescript": "^4.4.3",
"webpack": "^5.52.1",
"webpack-cli": "^4.8.0"
}
}