|
1 | 1 | {
|
2 | 2 | "name": "semantic-ui-react",
|
3 |
| - "version": "0.79.0", |
| 3 | + "version": "0.79.1", |
4 | 4 | "description": "The official Semantic-UI-React integration.",
|
5 | 5 | "jsnext:main": "dist/es/index.js",
|
6 | 6 | "main": "dist/commonjs/index.js",
|
|
24 | 24 | "build:docs-toc": "doctoc ./.github/CONTRIBUTING.md --github --maxlevel 4",
|
25 | 25 | "build:docs-cname": "echo react.semantic-ui.com > docs/build/CNAME",
|
26 | 26 | "build:changelog": "github_changelog_generator --no-issues --no-unreleased --release-branch master --since-tag $(git describe --abbrev=0 --tags $(git rev-parse HEAD~400))",
|
27 |
| - "deploy:changelog": "git add CHANGELOG.md && git commit -m 'docs(changelog): update changelog [ci skip]' && git push", |
28 | 27 | "predeploy:docs": "cross-env NODE_ENV=production yarn build:docs && yarn build:docs-cname",
|
29 | 28 | "deploy:docs": "gh-pages -d docs/build -m 'deploy docs [ci skip]'",
|
30 |
| - "postdeploy:docs": "yarn build:changelog && yarn deploy:changelog", |
31 | 29 | "lint": "cross-env NODE_ENV=production eslint .",
|
32 | 30 | "lint:fix": "yarn lint --fix",
|
| 31 | + "prettier": "prettier --list-different \"**/*.{js,jsx,ts,tsx}\"", |
| 32 | + "prettier:fix": "prettier --write \"**/*.{js,jsx,ts,tsx}\"", |
| 33 | + "precommit": "lint-staged", |
33 | 34 | "prerelease": "yarn lint && yarn tsd:lint && yarn tsd:test && yarn test && cross-env NODE_ENV=production yarn build",
|
34 | 35 | "postrelease": "yarn deploy:docs",
|
35 | 36 | "release:major": "yarn prerelease && ta-script npm/release major && yarn postrelease",
|
|
46 | 47 | "tsd:lint:fix": "yarn tsd:lint --fix",
|
47 | 48 | "tsd:test": "yarn tsd && tsc -p ./ && rm test/typings.js"
|
48 | 49 | },
|
| 50 | + "lint-staged": { |
| 51 | + "**/*.{js,jsx}": [ |
| 52 | + "prettier --write", |
| 53 | + "eslint --fix", |
| 54 | + "git add" |
| 55 | + ], |
| 56 | + "**/*.{ts,tsx}": [ |
| 57 | + "prettier --write", |
| 58 | + "tslint --fix", |
| 59 | + "git add" |
| 60 | + ] |
| 61 | + }, |
49 | 62 | "repository": {
|
50 | 63 | "type": "git",
|
51 | 64 | "url": "git+ssh://github.com/Semantic-Org/Semantic-UI-React.git"
|
|
108 | 121 | "gulp-rename": "^1.2.2",
|
109 | 122 | "gulp-util": "^3.0.8",
|
110 | 123 | "html-webpack-plugin": "^2.30.1",
|
| 124 | + "husky": "^0.14.3", |
111 | 125 | "imports-loader": "^0.7.1",
|
112 | 126 | "js-beautify": "^1.6.14",
|
113 | 127 | "json-loader": "^0.5.7",
|
|
119 | 133 | "karma-mocha-reporter": "^2.2.3",
|
120 | 134 | "karma-webpack-with-fast-source-maps": "^1.10.2",
|
121 | 135 | "leven": "^2.1.0",
|
| 136 | + "lint-staged": "^7.0.2", |
122 | 137 | "mocha": "^3.5.0",
|
123 | 138 | "node-sass": "^4.5.3",
|
| 139 | + "prettier": "1.12.0", |
124 | 140 | "puppeteer": "^0.10.1",
|
125 | 141 | "raw-loader": "^0.5.1",
|
126 | 142 | "react": "^16.0.0",
|
|
0 commit comments