Skip to content

Commit

Permalink
chore(release): 2.1.0 [skip ci]
Browse files Browse the repository at this point in the history
<a name="2.1.0"></a>
# [2.1.0](v2.0.4...v2.1.0) (2019-02-26)

### Features

* add displayName to forwardRef ([6e69ad1](6e69ad1))
  • Loading branch information
semantic-release-bot committed Feb 26, 2019
1 parent 6e69ad1 commit 112151b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<a name="2.1.0"></a>
# [2.1.0](https://github.com/react-restart/context/compare/v2.0.4...v2.1.0) (2019-02-26)


### Features

* add displayName to forwardRef ([6e69ad1](https://github.com/react-restart/context/commit/6e69ad1))

## [2.0.3](https://github.com/react-restart/context/compare/v2.0.2...v2.0.3) (2019-02-07)


Expand Down
27 changes: 15 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@restart/context",
"version": "2.0.4",
"version": "2.1.0",
"main": "lib/index.js",
"module": "lib/es/index.js",
"types": "index.d.ts",
Expand All @@ -16,15 +16,11 @@
"testonly": "jest",
"test:types": "dtslint types",
"build:es": "babel src -d lib/es --env-name esm --ignore **/__tests__ ",
"build:lib":
"babel src -d lib --ignore **/__tests__ --delete-dir-on-start ",
"build":
"npm run build:lib && npm run build:es && cpy types/*.d.ts lib && cpy types/*.d.ts lib/es",
"build:lib": "babel src -d lib --ignore **/__tests__ --delete-dir-on-start ",
"build": "npm run build:lib && npm run build:es && cpy types/*.d.ts lib && cpy types/*.d.ts lib/es",
"prepublishOnly": "yarn run build",
"lint":
"eslint . && prettier --list-different --ignore-path .eslintignore '**/*.{json,css,md}'",
"format":
"eslint . --fix && prettier --write --ignore-path .eslintignore '**/*.{json,css,md}'",
"lint": "eslint . && prettier --list-different --ignore-path .eslintignore '**/*.{json,css,md}'",
"format": "eslint . --fix && prettier --write --ignore-path .eslintignore '**/*.{json,css,md}'",
"precommit": "lint-staged"
},
"publishConfig": {
Expand All @@ -36,18 +32,25 @@
"trailingComma": "all"
},
"lint-staged": {
"*.js": ["eslint --fix", "git add"],
"*.js": [
"eslint --fix",
"git add"
],
"*.{json,css,md}": [
"prettier --write --ignore-path .eslintignore",
"git add"
]
},
"jest": {
"testEnvironment": "jsdom",
"setupFiles": ["<rootDir>/test/index.js"]
"setupFiles": [
"<rootDir>/test/index.js"
]
},
"release": {
"extends": ["@4c/semantic-release-config"],
"extends": [
"@4c/semantic-release-config"
],
"pkgRoot": "lib"
},
"devDependencies": {
Expand Down

0 comments on commit 112151b

Please sign in to comment.