-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
101 lines (101 loc) · 3.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "react-svg-tooltip",
"version": "0.0.11",
"description": "React component to create tooltips for SVG elements",
"keywords": [
"react",
"svg",
"tooltip"
],
"main": "dist/react-svg-tooltip.umd.js",
"module": "dist/react-svg-tooltip.es5.js",
"typings": "dist/types/react-svg-tooltip.d.ts",
"files": [
"dist"
],
"author": "Rahel Lüthy <rahel.luethy@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/netzwerg/react-svg-tooltip"
},
"license": "MIT",
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"lint": "tslint --type-check -p 'tsconfig.json' codeFrame 'src/**/*.ts'",
"prebuild": "rimraf dist",
"build": "tsc && rollup -c && rimraf compiled && typedoc --out dist/docs --target es6 --theme minimal --exclude '**/*.spec.ts' src",
"start": "tsc-watch --onSuccess \"rollup -c\"",
"test": "jest",
"test:watch": "jest --watch",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"deploy-docs": "ts-node tools/gh-pages-publish",
"semantic-release-prepare": "ts-node tools/semantic-release-prepare"
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"modulePathIgnorePatterns": [
"models"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
]
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@types/jest": "^20.0.0",
"@types/lodash": "^4.14.108",
"@types/node": "^8.0.0",
"@types/react": "^16.3.14",
"@types/react-dom": "^16.0.5",
"husky": "2.1.0",
"jest": "^21.0.0",
"lint-staged": "8.1.5",
"prettier": "1.17.0",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-scripts-ts": "2.16.0",
"replace-in-file": "^2.5.0",
"rimraf": "^2.6.1",
"rollup": "^0.49.0",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"ts-jest": "^21.0.0",
"ts-node": "^3.0.6",
"tsc-watch": "^1.0.5",
"tslint": "5.16.0",
"tslint-config-prettier": "1.18.0",
"tslint-react": "4.0.0",
"tslint-react-hooks": "^2.1.0",
"typedoc": "^0.14.2",
"typescript": "^3.1.3"
},
"peerDependencies": {
"react": "^16.3.0",
"react-dom": "^16.3.0"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}