|
| 1 | +{ |
| 2 | + "name": "d3-svg-path-editor", |
| 3 | + "version": "0.0.0-semantic-release", |
| 4 | + "license": "MIT", |
| 5 | + "devDependencies": { |
| 6 | + "@commitlint/cli": "^8.2.0", |
| 7 | + "@commitlint/config-conventional": "^8.2.0", |
| 8 | + "@types/blue-tape": "^0.1.33", |
| 9 | + "@types/d3": "^5.7.2", |
| 10 | + "@types/lodash": "^4.14.149", |
| 11 | + "@types/react": "^16.9.13", |
| 12 | + "@types/react-dom": "^16.9.4", |
| 13 | + "@typescript-eslint/eslint-plugin": "^2.9.0", |
| 14 | + "@typescript-eslint/parser": "^2.9.0", |
| 15 | + "blue-tape": "^1.0.0", |
| 16 | + "d3": "^5.14.1", |
| 17 | + "del-cli": "^3.0.0", |
| 18 | + "husky": "^3.1.0", |
| 19 | + "lint-staged": "^9.5.0", |
| 20 | + "parcel-bundler": "^1.12.4", |
| 21 | + "phantomjs-prebuilt": "^2.1.16", |
| 22 | + "prettier-standard": "^16.0.0", |
| 23 | + "react": "^16.12.0", |
| 24 | + "react-dom": "^16.12.0", |
| 25 | + "rollup": "^1.27.6", |
| 26 | + "rollup-plugin-typescript": "^1.0.1", |
| 27 | + "standardx": "^5.0.0", |
| 28 | + "testem": "^3.0.1", |
| 29 | + "typescript": "^3.7.2", |
| 30 | + "webpack": "^4.41.2", |
| 31 | + "webpack-cli": "^3.3.10" |
| 32 | + }, |
| 33 | + "scripts": { |
| 34 | + "build": "tsc", |
| 35 | + "bundle:test": "webpack --mode=development", |
| 36 | + "clean": "del '{src,demo,test}/**/*.{js,jsx,d.ts}'", |
| 37 | + "format": "prettier-standard '{demo,src,test,scripts}/**/*.{js,jsx,ts,tsx}'", |
| 38 | + "lint": "standardx '{demo,src,test,scripts}/**/*.{js,jsx,ts,tsx}' --fix", |
| 39 | + "demo": "parcel demo/index.html", |
| 40 | + "test": "testem ci" |
| 41 | + }, |
| 42 | + "husky": { |
| 43 | + "hooks": { |
| 44 | + "pre-commit": "lint-staged" |
| 45 | + } |
| 46 | + }, |
| 47 | + "lint-staged": { |
| 48 | + "{src,test,scripts}/**/*.{js,jsx,ts,tsx}": [ |
| 49 | + "yarn format", |
| 50 | + "yarn lint", |
| 51 | + "git add" |
| 52 | + ] |
| 53 | + }, |
| 54 | + "eslintConfig": { |
| 55 | + "rules": { |
| 56 | + "no-unused-vars": 0 |
| 57 | + } |
| 58 | + }, |
| 59 | + "standardx": { |
| 60 | + "env": [ |
| 61 | + "browser" |
| 62 | + ], |
| 63 | + "parser": "@typescript-eslint/parser", |
| 64 | + "plugins": [ |
| 65 | + "@typescript-eslint/eslint-plugin" |
| 66 | + ], |
| 67 | + "ignore": [ |
| 68 | + "**/*.d.ts" |
| 69 | + ] |
| 70 | + }, |
| 71 | + "peerDependencies": { |
| 72 | + "d3": "*" |
| 73 | + } |
| 74 | +} |
0 commit comments