-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
116 lines (116 loc) · 3.11 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "rollpkg",
"version": "0.5.7",
"description": "Zero config solution for building packages with Rollup and TypeScript.",
"bin": {
"rollpkg": "dist/cli.js"
},
"scripts": {
"build": "rm -rf dist && tsc --project tsconfig.build.json && chmod +x dist/cli.js",
"watch": "npm run build && tsc --project tsconfig.build.json --watch",
"prepublishOnly": "npm run lint && npm test && npm run build",
"lint": "eslint src",
"test": "jest",
"test:watch": "jest --watchAll",
"coverage": "npx live-server coverage/lcov-report",
"lintStaged": "lint-staged"
},
"files": [
"configs",
"dist",
"jest-preset.js"
],
"keywords": [
"rollup",
"typescript",
"npm",
"package",
"development"
],
"repository": {
"type": "git",
"url": "git+https://github.com/rafgraph/rollpkg.git"
},
"author": "Rafael Pedicini <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/rafgraph/rollpkg/issues"
},
"homepage": "https://github.com/rafgraph/rollpkg#readme",
"dependencies": {
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.4.2",
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"chalk": "^4.1.0",
"core-js": "^3.10.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.4",
"eslint-plugin-jest-dom": "^3.7.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"find-cache-dir": "^3.3.1",
"fs-extra": "^9.1.0",
"jest": "^26.6.3",
"jest-watch-typeahead": "^0.6.2",
"package-build-stats": "^7.2.2",
"prettier": "^2.2.1",
"pretty-bytes": "^5.6.0",
"progress-estimator": "^0.3.0",
"rollup": "^2.44.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "0.29.0",
"ts-jest": "^26.5.4",
"validate-npm-package-name": "^3.0.0"
},
"devDependencies": {
"@types/find-cache-dir": "^3.2.0",
"@types/fs-extra": "^9.0.10",
"@types/mock-fs": "^4.13.0",
"@types/node": "^14.14.37",
"@types/validate-npm-package-name": "^3.0.2",
"lint-staged": "^10.5.4",
"mock-fs": "^4.13.0",
"pre-commit": "^1.2.2",
"type-fest": "^1.0.1",
"typescript": "^4.2.3"
},
"peerDependencies": {
"typescript": ">=3"
},
"prettier": "./configs/prettier.json",
"pre-commit": "lintStaged",
"lint-staged": {
"src/**/*": [
"eslint",
"prettier --write --ignore-unknown"
],
"__mocks__/**/*": [
"eslint",
"prettier --write --ignore-unknown"
],
"configs/**/*": [
"prettier --write --ignore-unknown"
]
},
"eslintConfig": {
"extends": [
"./configs/eslint"
],
"ignorePatterns": [
"configs",
"jest-preset.js"
]
},
"jest": {
"preset": "./configs/jest-preset.js",
"testEnvironment": "node"
}
}