|
| 1 | +{ |
| 2 | + "name": "react-semantics", |
| 3 | + "version": "0.1.0", |
| 4 | + "description": "Useful semantic helper components for working with React.", |
| 5 | + "author": "Christian Svenkerud", |
| 6 | + "repository": { |
| 7 | + "type": "git", |
| 8 | + "url": "https://github.com/csvenke/react-semantics.git" |
| 9 | + }, |
| 10 | + "main": "index.ts", |
| 11 | + "types": "index.d.ts", |
| 12 | + "private": false, |
| 13 | + "license": "MIT", |
| 14 | + "keywords": [ |
| 15 | + "react", |
| 16 | + "react-components", |
| 17 | + "react-utils", |
| 18 | + "react-library", |
| 19 | + "components", |
| 20 | + "semantic" |
| 21 | + ], |
| 22 | + "dependencies": { |
| 23 | + "prop-types": "^15.6.2" |
| 24 | + }, |
| 25 | + "peerDependencies": { |
| 26 | + "react-dom": "^16.4.1", |
| 27 | + "react": "^16.4.1" |
| 28 | + }, |
| 29 | + "devDependencies": { |
| 30 | + "@types/react": "^16.4.6", |
| 31 | + "@types/react-dom": "^16.0.6", |
| 32 | + "husky": "1.0.0-rc.2", |
| 33 | + "lint-staged": "^7.2.0", |
| 34 | + "prettier": "^1.13.7", |
| 35 | + "react-dom": "^16.4.1", |
| 36 | + "react": "^16.4.1", |
| 37 | + "rimraf": "^2.6.2", |
| 38 | + "tslint-config-prettier": "^1.14.0", |
| 39 | + "tslint-plugin-prettier": "^1.3.0", |
| 40 | + "tslint": "^5.11.0", |
| 41 | + "typescript": "^2.9.2" |
| 42 | + }, |
| 43 | + "scripts": { |
| 44 | + "build": "npm run clean:build && npm run lint && npm run prettify && tsc -p ./tsconfig.build.json && cp ./package.json ./dist/lib", |
| 45 | + "clean:build": "rimraf ./dist/lib", |
| 46 | + "dist": "cd ./dist/lib && npm publish", |
| 47 | + "lint": "tslint -c tslint.json './src/**/*'", |
| 48 | + "lintfix": "tslint -c tslint.json --fix './src/**/*'", |
| 49 | + "prettify": "prettier -c .prettierrc --write \"src/**/*.@(ts|tsx)\"" |
| 50 | + }, |
| 51 | + "husky": { |
| 52 | + "hooks": { |
| 53 | + "pre-commit": "lint-staged" |
| 54 | + } |
| 55 | + }, |
| 56 | + "lint-staged": { |
| 57 | + "*.{ts,tsx}": [ |
| 58 | + "prettier -c .prettierrc --write", |
| 59 | + "tslint -c tslint.json --fix", |
| 60 | + "git add" |
| 61 | + ] |
| 62 | + } |
| 63 | +} |
0 commit comments