From f419b26328aef3442c334775f786a945713f9e3f Mon Sep 17 00:00:00 2001 From: hannahhoward Date: Fri, 2 Mar 2018 15:27:37 -0800 Subject: [PATCH] build(Semantic Release): resetup for semantic release BREAKING CHANGE: New package name, new semantic release --- package.json | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index f325c49..ccd61d9 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,14 @@ { "name": "@rxreact/core", - "version": "0.0.1-development", + "version": "0.0.0-development", "description": "", "keywords": [], "main": "dist/rxreact.umd.js", "module": "dist/rxreact.es5.js", "typings": "dist/types/rxreact.d.ts", - "files": ["dist"], + "files": [ + "dist" + ], "author": "hannahhoward ", "repository": { "type": "git", @@ -19,8 +21,7 @@ "scripts": { "lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts'", "prebuild": "rimraf dist", - "build": - "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src", + "build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src", "start": "rollup -c rollup.config.ts -w", "test": "jest", "test:watch": "jest --watch", @@ -34,7 +35,10 @@ "travis-deploy-once": "travis-deploy-once" }, "lint-staged": { - "{src,test}/**/*.ts": ["prettier --write --no-semi --single-quote", "git add"] + "{src,test}/**/*.ts": [ + "prettier --write --no-semi --single-quote", + "git add" + ] }, "config": { "commitizen": { @@ -42,8 +46,7 @@ }, "validate-commit-msg": { "types": "conventional-commit-types", - "helpMessage": - "Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)" + "helpMessage": "Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)" } }, "jest": { @@ -51,8 +54,15 @@ ".(ts|tsx)": "/node_modules/ts-jest/preprocessor.js" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", - "moduleFileExtensions": ["ts", "tsx", "js"], - "coveragePathIgnorePatterns": ["/node_modules/", "/test/"], + "moduleFileExtensions": [ + "ts", + "tsx", + "js" + ], + "coveragePathIgnorePatterns": [ + "/node_modules/", + "/test/" + ], "coverageThreshold": { "global": { "branches": 90,