2018-09-05 10:01:59 +00:00
|
|
|
{
|
|
|
|
"name": "@overflow/core-js",
|
2018-09-06 03:30:22 +00:00
|
|
|
"version": "0.0.10",
|
2018-09-05 10:01:59 +00:00
|
|
|
"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",
|
|
|
|
"url": "https://git.loafle.net/overflow/core-js.git"
|
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"registry": "https://nexus.loafle.net/repository/npm-loafle/"
|
|
|
|
},
|
|
|
|
"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",
|
|
|
|
"style": "yarn lint",
|
|
|
|
"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:git && yarn release:npm",
|
|
|
|
"release:git": "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": {
|
|
|
|
"reflect-metadata": "^0.1.12"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@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-09-05 11:10:51 +00:00
|
|
|
}
|