2018-08-25 03:30:00 +00:00
|
|
|
{
|
|
|
|
"name": "@overflow/typescript-library-starter",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "TypeScript library setup for multiple compilation targets using tsc and webpack",
|
|
|
|
"main": "./bundles/index.umd.js",
|
|
|
|
"module": "./esm5/index.js",
|
|
|
|
"es2015": "./esm2015/index.js",
|
|
|
|
"typings": "./types/index.d.ts",
|
|
|
|
"sideEffects": false,
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-08-25 03:30:50 +00:00
|
|
|
"url": "https://git.loafle.net/overflow/typescript-library-starter"
|
2018-08-25 03:30:00 +00:00
|
|
|
},
|
|
|
|
"author": "loafle.com",
|
|
|
|
"license": "MIT",
|
|
|
|
"engines": {
|
|
|
|
"node": ">=8.5"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"cleanup": "shx rm -rf dist",
|
|
|
|
"prebuild": "yarn cleanup && yarn verify",
|
|
|
|
"build": "tsc && tsc --target es2018 --outDir dist/esm2015 && rollup -c config/rollup.config.js && rollup -c config/rollup.config.js --environment NODE_ENV:production",
|
|
|
|
"postbuild": "node scripts/copy.js && yarn size",
|
|
|
|
"docs": "typedoc -p . --theme minimal --target 'es6' --excludeNotExported --excludePrivate --ignoreCompilerErrors --exclude \"**/src/**/__tests__/*.*\" --out docs src/",
|
|
|
|
"test": "jest -c ./config/jest.config.js",
|
|
|
|
"test:watch": "yarn test -- --watch",
|
|
|
|
"test:coverage": "yarn test -- --coverage",
|
|
|
|
"test:ci": "yarn test -- --ci",
|
|
|
|
"validate-js": "tsc -p ./config && tsc -p ./scripts",
|
|
|
|
"verify": "yarn validate-js && yarn style && yarn test:ci",
|
|
|
|
"commit": "git-cz",
|
2018-08-26 14:00:34 +00:00
|
|
|
"style": "yarn lint",
|
2018-08-25 03:30:00 +00:00
|
|
|
"style:fix": "yarn format:fix && yarn lint:fix",
|
|
|
|
"lint": "tslint --project tsconfig.json --format codeFrame",
|
|
|
|
"lint:fix": "yarn lint -- --fix",
|
|
|
|
"prerelease": "yarn build",
|
|
|
|
"release": "standard-version",
|
|
|
|
"postrelease": "node scripts/copy.js && yarn release:github && yarn release:npm",
|
|
|
|
"release:github": "git push --no-verify --follow-tags origin master",
|
|
|
|
"release:npm": "cd dist && yarn publish",
|
|
|
|
"release:preflight": "cd dist && yarn pack",
|
|
|
|
"size": "yarn size:umd && yarn size:fesm",
|
|
|
|
"size:umd": "shx echo \"Gzipped+minified UMD bundle Size:\" && cross-var strip-json-comments --no-whitespace \"./dist/bundles/index.umd.min.js\" | gzip-size",
|
|
|
|
"size:fesm": "shx echo \"Gzipped+minified FESM bundle Size:\" && strip-json-comments --no-whitespace \"./dist/bundles/index.esm.min.js\" | gzip-size"
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
|
|
},
|
|
|
|
"validate-commit-msg": {
|
|
|
|
"types": "conventional-commit-types",
|
|
|
|
"maxSubjectLength": 120
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"tslib": ">=1.9.0"
|
|
|
|
},
|
|
|
|
"dependencies": {},
|
|
|
|
"devDependencies": {
|
2018-08-26 14:35:22 +00:00
|
|
|
"@types/chokidar": "^1.7.5",
|
|
|
|
"@types/jest": "^23.3.1",
|
|
|
|
"@types/json5": "^0.0.30",
|
|
|
|
"@types/node": "^8.10.4",
|
|
|
|
"@types/webpack-config-utils": "^2.3.0",
|
|
|
|
"awesome-typescript-loader": "^5.2.0",
|
|
|
|
"commitizen": "^2.10.1",
|
|
|
|
"cross-var": "^1.1.0",
|
|
|
|
"cz-conventional-changelog": "^2.1.0",
|
|
|
|
"gzip-size-cli": "^3.0.0",
|
|
|
|
"jest": "^23.5.0",
|
|
|
|
"jest-watch-typeahead": "^0.2.0",
|
|
|
|
"json5": "^2.0.1",
|
|
|
|
"lint-staged": "^7.2.2",
|
|
|
|
"rollup": "^0.65.0",
|
|
|
|
"rollup-plugin-commonjs": "^9.1.6",
|
|
|
|
"rollup-plugin-json": "^3.0.0",
|
|
|
|
"rollup-plugin-node-resolve": "^3.3.0",
|
|
|
|
"rollup-plugin-replace": "^2.0.0",
|
|
|
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
|
|
"rollup-plugin-terser": "^1.0.1",
|
|
|
|
"rollup-plugin-uglify": "^4.0.0",
|
|
|
|
"shx": "^0.3.2",
|
|
|
|
"sort-object-keys": "^1.1.2",
|
|
|
|
"standard-version": "^4.4.0",
|
|
|
|
"strip-json-comments-cli": "^1.0.1",
|
|
|
|
"ts-jest": "^23.1.4",
|
|
|
|
"tslib": "^1.9.3",
|
|
|
|
"tslint": "^5.11.0",
|
|
|
|
"tslint-config-standard": "^7.1.0",
|
|
|
|
"typedoc": "^0.12.0",
|
|
|
|
"typescript": "^2.9.2",
|
|
|
|
"validate-commit-msg": "^2.14.0",
|
|
|
|
"webpack-config-utils": "^2.3.0"
|
2018-08-25 03:30:00 +00:00
|
|
|
}
|
|
|
|
}
|