-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.52 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
{
"name": "react-scroll-progress-read",
"description": "Progress Bar for show position of scroll page",
"version": "0.0.13",
"main": "./dist/index.js",
"repository": "git@github.com:ipatate/react-scroll-progress-read.git",
"author": "Patrick Faramaz <info@goodmotion.fr>",
"license": "MIT",
"keywords": [
"react",
"scroll",
"progressbar",
"read"
],
"scripts": {
"build": "yarn clean && rollup -c && tsc",
"watch": "rollup -cw",
"type": "tsc --noEmit",
"test": "jest",
"prepublishOnly": "yarn build",
"lint": "tslint src",
"format": "prettier --write \"src/*.+(js|jsx||json|yml|yaml|css|scss|ts|tsx|graphql|vue|mjs)\" ",
"validate": "yarn lint && yarn test",
"now-build": "yarn build",
"clean": "rm -rf ./dist"
},
"peerDependencies": {
"react": ">=16.8"
},
"devDependencies": {
"@types/enzyme": "^3.10.1",
"@types/jest": "^24.0.15",
"@types/react": "^16.8.22",
"@types/react-dom": "^16.8.4",
"@types/react-test-renderer": "^16.8.2",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"husky": "^3.0.0",
"jest": "^24.8.0",
"jest-dom": "^3.5.0",
"lint-staged": "^9.0.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-test-renderer": "^16.8.6",
"rollup": "^1.16.4",
"rollup-plugin-terser": "^5.0.0",
"rollup-plugin-typescript2": "^0.21.2",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.0.0",
"tslint-react-hooks": "^2.1.1",
"typescript": "^3.5.2"
},
"husky": {
"hooks": {
"pre-commit": "yarn type && lint-staged && yarn test && yarn format && yarn build && git add ."
}
},
"browserslist": [
"last 2 version",
"> 1%",
"IE 11"
],
"jest": {
"setupFilesAfterEnv": [
"./setup-jest.ts"
],
"globals": {
"__PATH_PREFIX__": ""
},
"transform": {
"^.+\\.(tsx?|jsx?)$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$",
"testPathIgnorePatterns": [
"node_modules",
".rpt2_cache"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleNameMapper": {
"typeface-*": "identity-obj-proxy",
".+\\.(css|styl|less|sass|scss)$": "identity-obj-proxy",
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/file.js"
},
"collectCoverage": false,
"coverageReporters": [
"lcov",
"text",
"html"
]
}
}