Skip to content

Commit

Permalink
add fixpack
Browse files Browse the repository at this point in the history
  • Loading branch information
kufu-guest committed Jun 7, 2019
1 parent 9cff2da commit e2d8f92
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 55 deletions.
108 changes: 55 additions & 53 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,16 @@
{
"name": "smarthr-ui",
"author": "SmartHR-UI Team",
"version": "3.7.0",
"description": "SmartHR ui components built with React.",
"keywords": [
"react",
"react-component",
"typescript",
"smarthr"
],
"files": [
"lib"
],
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/kufu/smarthr-ui.git"
},
"license": "MIT",
"version": "3.7.0",
"author": "SmartHR-UI Team",
"bugs": {
"url": "https://github.com/kufu/smarthr-ui/issues"
},
"homepage": "https://github.com/kufu/smarthr-ui#readme",
"scripts": {
"release": "np",
"prepublishOnly": "run-s clean lint build",
"build": "tsc",
"lint:tsc": "tsc --noEmit",
"lint:eslint": "eslint 'src/**/*.ts{,x}'",
"lint:style": "stylelint 'src/**/*.ts{,x}'",
"lint": "run-p lint:*",
"format": "eslint --fix 'src/**/*.ts{,x}'",
"clean": "rimraf ./lib",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"git add"
]
},
"dependencies": {
"fixpack": "^2.3.1",
"lodash.merge": "^4.6.1",
"lodash.range": "^3.2.0"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"styled-components": "^4.2.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@storybook/addon-actions": "^5.0.11",
Expand Down Expand Up @@ -101,12 +55,60 @@
"ts-loader": "^6.0.0",
"typescript": "^3.2.4"
},
"sideEffects": false,
"engines": {
"node": ">=8.0.0"
},
"files": [
"lib"
],
"homepage": "https://github.com/kufu/smarthr-ui#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"keywords": [
"react",
"react-component",
"smarthr",
"typescript"
],
"license": "MIT",
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"git add"
]
},
"main": "lib/index.js",
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"styled-components": "^4.2.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"engines": {
"node": ">=8.0.0"
}
"repository": {
"type": "git",
"url": "git+https://github.com/kufu/smarthr-ui.git"
},
"scripts": {
"build": "tsc",
"build-storybook": "build-storybook",
"clean": "rimraf ./lib",
"fix": "fixpack",
"format": "eslint --fix 'src/**/*.ts{,x}'",
"lint": "run-p lint:*",
"lint:eslint": "eslint 'src/**/*.ts{,x}'",
"lint:style": "stylelint 'src/**/*.ts{,x}'",
"lint:tsc": "tsc --noEmit",
"prepublishOnly": "run-s clean lint build",
"release": "np",
"storybook": "start-storybook -p 6006",
"test": "jest"
},
"sideEffects": false,
"typings": "lib/index.d.ts"
}
57 changes: 55 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2232,6 +2232,14 @@ ajv@^6.1.0, ajv@^6.5.5, ajv@^6.9.1:
json-schema-traverse "^0.4.1"
uri-js "^4.2.2"

[email protected]:
version "1.0.0"
resolved "https://registry.yarnpkg.com/alce/-/alce-1.0.0.tgz#426184c98ee288d0eeac77fd63fed680b667cab6"
integrity sha1-QmGEyY7iiNDurHf9Y/7WgLZnyrY=
dependencies:
esprima "~1.0.4"
estraverse "~1.3.0"

ansi-align@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f"
Expand Down Expand Up @@ -3638,7 +3646,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=

colors@^1.1.2:
colors@*, colors@^1.1.2:
version "1.3.3"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d"
integrity sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg==
Expand Down Expand Up @@ -4150,6 +4158,11 @@ deep-extend@^0.6.0:
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==

deep-extend@~0.2.5:
version "0.2.11"
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.2.11.tgz#7a16ba69729132340506170494bc83f7076fe08f"
integrity sha1-eha6aXKRMjQFBhcElLyD9wdv4I8=

deep-is@~0.1.3:
version "0.1.3"
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
Expand Down Expand Up @@ -4814,6 +4827,11 @@ esprima@^4.0.0, esprima@~4.0.0:
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==

esprima@~1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-1.0.4.tgz#9f557e08fc3b4d26ece9dd34f8fbf476b62585ad"
integrity sha1-n1V+CPw7TSbs6d00+Pv0drYlha0=

esquery@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708"
Expand All @@ -4833,6 +4851,11 @@ estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0:
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13"
integrity sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=

estraverse@~1.3.0:
version "1.3.2"
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.3.2.tgz#37c2b893ef13d723f276d878d60d8535152a6c42"
integrity sha1-N8K4k+8T1yPydth41g2FNRUqbEI=

esutils@^2.0.0, esutils@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b"
Expand Down Expand Up @@ -4982,6 +5005,11 @@ express@^4.16.3:
utils-merge "1.0.1"
vary "~1.1.2"

extend-object@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/extend-object/-/extend-object-1.0.0.tgz#42514f84015d1356caf5187969dfb2bc1bda0823"
integrity sha1-QlFPhAFdE1bK9Rh5ad+yvBvaCCM=

extend-shallow@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f"
Expand Down Expand Up @@ -5230,6 +5258,16 @@ find-up@^2.0.0, find-up@^2.1.0:
dependencies:
locate-path "^2.0.0"

fixpack@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/fixpack/-/fixpack-2.3.1.tgz#53f03d88aab7d5123259282f0088a9a3b19836c2"
integrity sha1-U/A9iKq31RIyWSgvAIipo7GYNsI=
dependencies:
alce "1.0.0"
colors "*"
extend-object "^1.0.0"
rc "^0.6.0"

flat-cache@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0"
Expand Down Expand Up @@ -7990,7 +8028,7 @@ minimist@^1.1.1, minimist@^1.2.0:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=

minimist@~0.0.1:
minimist@~0.0.1, minimist@~0.0.7:
version "0.0.10"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=
Expand Down Expand Up @@ -9513,6 +9551,16 @@ raw-loader@^1.0.0:
loader-utils "^1.1.0"
schema-utils "^1.0.0"

rc@^0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/rc/-/rc-0.6.0.tgz#e1c930059af831c85413fe275ae2f40f4e3c5371"
integrity sha1-4ckwBZr4MchUE/4nWuL0D048U3E=
dependencies:
deep-extend "~0.2.5"
ini "~1.3.0"
minimist "~0.0.7"
strip-json-comments "0.1.x"

rc@^1.0.1, rc@^1.1.6, rc@^1.2.7:
version "1.2.8"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
Expand Down Expand Up @@ -11040,6 +11088,11 @@ strip-indent@^2.0.0:
resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68"
integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=

[email protected]:
version "0.1.3"
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-0.1.3.tgz#164c64e370a8a3cc00c9e01b539e569823f0ee54"
integrity sha1-Fkxk43Coo8wAyeAbU55WmCPw7lQ=

strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
Expand Down

0 comments on commit e2d8f92

Please sign in to comment.