-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.31 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.31 KB
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
{
"name": "get-object-fit-rect",
"version": "2.1.3",
"description": "Replaced elements object-fit and object-position utilities",
"repository": {
"type": "git",
"url": "git+https://github.com/erhangundogan/get-object-fit-rect.git"
},
"files": [
"dist/*",
"LICENSE.md",
"README.md"
],
"keywords": [
"aspect-ratio",
"object-fit",
"object-position",
"replaced-element",
"resized-image",
"getBoundingRect",
"getBoundingClientRect",
"getObjectFitRect",
"positioning",
"cropping"
],
"author": "erhan.gundogan@gmail.com",
"license": "MIT",
"private": false,
"types": "./dist/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"browser": "./dist/umd/index.js",
"scripts": {
"clean": "rimraf dist",
"lint": "eslint \"src/**/*.{js,ts}\"",
"test": "rimraf coverage && jest",
"build": "npm run clean && NODE_ENV=development rollup -c rollup.config.js",
"build:prod": "npm run clean && NODE_ENV=production rollup -c rollup.config.js",
"watch": "npm run clean && NODE_ENV=development rollup -cw rollup.config.js",
"prepublishOnly": "npm run build:prod"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-replace": "^3.0.0",
"@testing-library/jest-dom": "^5.14.1",
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"@wessberg/rollup-plugin-ts": "^1.3.11",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.1.0",
"prettier": "^2.3.2",
"rollup": "^2.56.3",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^27.0.5",
"tslib": "^2.3.1",
"typescript": "^4.4.2"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"coverageDirectory": "../coverage",
"collectCoverage": true,
"collectCoverageFrom": [
"*.ts"
],
"rootDir": "src"
},
"start": {
"extensions": "css,html,js,json",
"patterns": [
"src"
]
}
}