-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.67 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
{
"name": "react-thumbnails",
"version": "1.0.1",
"description": "Generate thumbnails from URL addresses",
"repository": {
"type": "git",
"url": "git+https://github.com/erhangundogan/react-thumbnails.git"
},
"files": [
"dist/*",
"LICENSE.md",
"README.md"
],
"author": "[email protected]",
"license": "MIT",
"private": false,
"types": "dist/react-thumbnails.d.ts",
"main": "dist/cjs/react-thumbnails.js",
"module": "dist/es/react-thumbnails.js",
"browser": "dist/umd/react-thumbnails.js",
"scripts": {
"clean": "rimraf dist",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"test": "rimraf coverage && jest --passWithNoTests",
"build": "NODE_ENV=development rollup -c rollup.examples.config.js -w",
"build:prod": "npm run clean && NODE_ENV=production rollup -c rollup.config.js",
"start": "serve -s dist",
"watch": "npm run clean && run-p build start",
"prepublishOnly": "npm run build:prod"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/jest": "^26.0.24",
"@types/react": "^17.0.14",
"@types/react-dom": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"@wessberg/rollup-plugin-ts": "^1.3.14",
"babel-eslint": "^10.1.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^27.0.6",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rollup": "^2.53.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"serve": "^12.0.0",
"ts-jest": "^27.0.3",
"tslib": "^2.3.0",
"typescript": "^4.3.5"
},
"peerDependencies": {
"react": ">=17.x",
"react-dom": ">=17.x"
},
"dependencies": {
"image-helpers": "^1.3.0"
},
"jest": {
"rootDir": "./src",
"coverageDirectory": "./coverage",
"collectCoverage": true,
"collectCoverageFrom": [
"**/!(*.test).(ts|tsx)"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleNameMapper": {
"\\.(css|less|scss|sass)$": "./src/styleMock.js"
},
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
]
}
}