-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
67 lines (67 loc) · 1.9 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
{
"name": "sidepix",
"version": "0.1.5",
"author": "Dario Aprea <[email protected]>",
"description": "<picture> component with image processing as side-effect",
"license": "ISC",
"repository": {
"url": "https://github.com/neugelb/sidepix"
},
"keywords": [
"image",
"picture",
"optimization",
"react",
"react-component",
"next",
"sharp"
],
"main": "cjs/index.js",
"module": "esm/index.js",
"scripts": {
"lint": "eslint \"./lib/**/*.ts\" \"./lib/**/*.tsx\"",
"format": "prettier --write lib/**/* tests/**/* examples/**/*",
"build:cjs": "tsc",
"build:esm": "tsc -p tsconfig-esm.json",
"copy-subpackages": "shx cp -r package.json README.md subpackages/* dist",
"build": "yarn clean && yarn build:esm && yarn build:cjs && yarn copy-subpackages",
"clean": "shx rm -rf dist",
"test:clean": "shx rm -rf tests/dist",
"test:build": "tsc -p tests/tsconfig.json",
"test:run": "tape tests/dist/tests/*.js",
"test": "yarn test:clean && yarn test:build && yarn test:run",
"npm-publish": "cd dist && npm adduser && npm publish"
},
"bin": {
"sidepix-start": "cjs/bin/sidepix-start.js",
"sidepix-wait": "cjs/bin/sidepix-wait.js"
},
"dependencies": {
"cloneable-readable": "^2.1.0",
"fraction.js": "^4.1.2",
"lodash": "^4.17.21",
"node-ipc": "^10.1.0",
"sharp": "^0.29.3"
},
"devDependencies": {
"@types/cloneable-readable": "^2.0.0",
"@types/lodash": "^4.14.168",
"@types/node-ipc": "^9.2.0",
"@types/react": "^18.0.11",
"@types/sharp": "^0.27.2",
"@types/sinon": "^10.0.11",
"@types/tape": "^4.13.2",
"chokidar": "^3.5.2",
"prettier": "^2.6.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"shx": "^0.3.4",
"sinon": "^14.0.0",
"tape": "^5.5.3",
"typescript": "^4.7.3"
},
"peerDependencies": {
"react": ">=16.14.0",
"react-dom": ">=16.14.0"
}
}