UNPKG

1.88 kBJSONView Raw
1{
2 "name": "react-docgen-typescript",
3 "version": "2.2.2",
4 "description": "",
5 "homepage": "https://github.com/styleguidist/react-docgen-typescript/",
6 "bugs": "https://github.com/styleguidist/react-docgen-typescript/issues",
7 "main": "lib/index.js",
8 "types": "lib/index.d.ts",
9 "scripts": {
10 "precommit": "lint-staged",
11 "tsc": "tsc",
12 "tsc:watch": "tsc -w",
13 "prepublishOnly": "tsc -d",
14 "test": "tsc && mocha --timeout 10000 ./lib/**/__tests__/**.js",
15 "test:debug": "tsc && mocha --inspect ./lib/**/__tests__/**.js",
16 "print": "npm run tsc && node ./lib/print.js",
17 "print:sample1": "npm run tsc && node ./lib/print.js ./src/__tests__/data/ColumnHigherOrderComponent.tsx simple",
18 "lint": "eslint -c lint.json 'src/**/*.{ts,tsx}'",
19 "lint:fix": "npm run lint -- --fix",
20 "prettier:base": "prettier --parser typescript --single-quote --trailing-comma none",
21 "prettier:check": "npm run prettier:base -- -l \"src/**/*.{ts,tsx}\"",
22 "prettier:write": "npm run prettier:base -- --write \"src/**/*.{ts,tsx}\""
23 },
24 "license": "MIT",
25 "peerDependencies": {
26 "typescript": ">= 4.3.x"
27 },
28 "devDependencies": {
29 "@types/chai": "^4.1.0",
30 "@types/lodash": "^4.14.137",
31 "@types/mocha": "^5.2.5",
32 "@types/node": "^15.6.1",
33 "@types/prop-types": "^15.5.4",
34 "@types/react": "^16.9.34",
35 "@types/source-map-support": "^0.4.1",
36 "chai": "^4.1.2",
37 "eslint": "^7.32.0",
38 "husky": "^0.14.3",
39 "install": "^0.13.0",
40 "lint-staged": "^7.3.0",
41 "lodash": "^4.17.15",
42 "mocha": "^9.1.2",
43 "prettier": "^1.19.1",
44 "prop-types": "^15.6.2",
45 "react": "^16.4.2",
46 "source-map-support": "^0.5.6",
47 "typescript": "^4.3.2"
48 },
49 "files": [
50 "lib",
51 "README.md"
52 ],
53 "repository": {
54 "type": "git",
55 "url": "https://github.com/styleguidist/react-docgen-typescript.git"
56 }
57}