-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
106 lines (106 loc) · 2.64 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
{
"name": "@daviking/openlayers",
"description": "Library wrapping open layers with react. ",
"version": "1.4.1",
"license": "MIT",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./types/index.d.ts",
"files": [
"lib",
"types"
],
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"scripts": {
"build": "npm run build:cjs && npm run build:esm && npm run copy-files",
"build:cjs": "rollup -c",
"build:esm": "tsc --p tsconfig.lib.json",
"copy-files": "cp -r ./src/styles/ ./lib/esm/",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint \"{src,test,stories}/**/*.{js,ts,tsx}\"",
"lint:fix": "eslint \"{src,test,stories}/**/*.{js,ts,tsx}\" --fix",
"prepare": "husky install",
"size": "size-limit",
"analyze": "size-limit --why",
"semantic-release": "semantic-release"
},
"peerDependencies": {
"ol": ">=6.5.0",
"react": ">=16"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.2.1",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/npm": "^7.1.3",
"@semantic-release/release-notes-generator": "^9.0.3",
"@size-limit/preset-small-lib": "^4.9.2",
"@svgr/rollup": "^5.5.0",
"@types/jest": "^26.0.22",
"@types/lodash": "^4.14.168",
"@types/ol": "^6.4.2",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"eslint": "^8.25.0",
"eslint-config-react-app": "^7.0.1",
"husky": "^6.0.0",
"jest": "^27.0.0-next.6",
"postcss": "^8.4.16",
"react-is": "^17.0.2",
"rollup": "^2.68.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-postcss-modules": "^2.0.2",
"size-limit": "^4.10.2",
"ts-jest": "^27.0.0-next.10",
"ts-node": "^9.1.1",
"tsdx": "^0.14.1",
"tslib": "^2.1.0",
"typescript": "^4.2.3"
},
"dependencies": {
"autoprefixer": "^10.4.17",
"ol": ">=6.5.0",
"react": ">=16",
"react-dom": "^17.0.2",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-import-css": "^3.0.3",
"screenfull": "^5.1.0"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint && tsdx build"
}
},
"size-limit": [
{
"path": "dist/react-openlayers.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/react-openlayers.esm.js",
"limit": "10 KB"
}
]
}