/
package.json
98 lines (98 loc) · 3.25 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
{
"name": "robot-img",
"version": "1.0.0",
"description": "robot-img",
"private": true,
"workspaces": [
"packages/react-img",
"packages/utils"
],
"scripts": {
"dev": "node scripts/doc.js && vite",
"doc:w": "npm run build:api && node scripts/doc.js -w",
"commit": "git add . && cz",
"clean": "rimraf packages/**/dist docs/_site docs/*.html",
"build:es": "rollup -c rollup.config.es.js",
"build:cjs": "BABEL_ENV=cjs rollup -c rollup.config.cjs.js",
"build:dts": "node ./scripts/dts.js",
"build": "npm run clean && npm run build:es && npm run build:cjs && npm run build:dts",
"build:api": "node scripts/api.js -d",
"build:doc": "node scripts/doc.js && vite build ./docs -c ./vite.config.ts && node scripts/api.js && node scripts/imgs.js",
"test": "BABEL_ENV=test jest --detectOpenHandles --forceExit --verbose --coverage",
"test:last": "BABEL_ENV=test jest --detectOpenHandles --forceExit --verbose --coverage --changedSince origin/main",
"test:clear": "BABEL_ENV=test jest --clearCache",
"test:debug": "BABEL_ENV=test node --inspect-brk node_modules/.bin/jest --runInBand packages/react-img/src/useImg.test.tsx",
"test:watch": "BABEL_ENV=test jest --watch --verbose --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ykan/robot-img.git"
},
"keywords": [
"lazyload",
"img"
],
"author": "ykan",
"license": "MIT",
"bugs": {
"url": "https://github.com/ykan/robot-img/issues"
},
"homepage": "https://github.com/ykan/robot-img#readme",
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@emotion/react": "^11.4.0",
"@emotion/styled": "^11.3.0",
"@muya-ui/baozheng-tsdoc": "^1.0.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.1",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-typescript": "^8.2.5",
"@testing-library/react-hooks": "^7.0.1",
"@types/fs-extra": "^9.0.12",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"@vitejs/plugin-react-refresh": "^1.3.5",
"babel-jest": "^27.0.6",
"babel-plugin-module-resolver": "^4.1.0",
"chokidar": "^3.5.2",
"codesandbox": "^2.2.3",
"commitizen": "^4.2.4",
"eslint": "^7.29.0",
"eslint-config-alloy": "^4.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"fs-extra": "^10.0.0",
"husky": "^7.0.1",
"jest": "^27.0.6",
"lint-staged": "^11.1.1",
"markdown-it": "^12.1.0",
"node-fetch": "^2.6.1",
"prettier": "2.3.2",
"prismjs": "^1.24.1",
"pug": "^3.0.2",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.53.2",
"typescript": "^4.3.4",
"vite": "^2.4.3"
},
"config": {
"commitizen": {
"path": "./scripts/cz.js"
}
},
"dependencies": {
"@types/react": "^17.0.13",
"@types/react-dom": "^17.0.8",
"normalize.css": "^8.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}