-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
162 lines (162 loc) · 5.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "@geo-knowledge-hub/invenio-geographic-components-react",
"version": "0.2.5",
"main": "dist/cjs/index.js",
"browser": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"files": [
"dist"
],
"scripts": {
"start": "react-scripts start",
"build": "rimraf dist && NODE_ENV=production rollup -c --failAfterWarnings",
"prepare": "rimraf dist && NODE_ENV=production rollup -c --failAfterWarnings",
"edit-linked-package": "json -I -f ./dist/package.json -e 'this.module=\"esm/index.js\", this.main=\"cjs/index.js\"' ",
"prelink-dist": "cp package.json ./dist && npm run edit-linked-package",
"link-dist": "cd dist && npm link",
"postlink-dist": "cd dist && rm -rf node_modules",
"unlink-dist": "cd dist && npm unlink && rm package*",
"watch": "NODE_ENV=development rollup --watch -c",
"extract_messages": "i18next-scanner --config i18next-scanner.config.js 'src/**/*.{js,jsx}'",
"postextract_messages": "i18next-conv -l en -s ./src/lib/translations/messages/en/translations.json -t ./src/lib/translations/translations.pot",
"compile_catalog": "node ./src/lib/translations/scripts/compileCatalog.js",
"init_catalog": "node ./src/lib/translations/scripts/initCatalog",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src/**/*.js",
"format": "prettier --config ./.prettierrc --ignore-path ./.prettierignore --write \"src/**/*.js\"",
"storybook": "start-storybook -p 6006",
"storybook-build": "build-storybook",
"storybook-jest": "jest --json --outputFile=.jest-test-results.json || true"
},
"devDependencies": {
"@ckeditor/ckeditor5-build-classic": "^16.0.0",
"@ckeditor/ckeditor5-react": "^2.1.0",
"@emotion/react": "^11.9.0",
"@geoman-io/leaflet-geoman-free": "^2.13.0",
"@mapbox/geojsonhint": "^3.0.1",
"@react-leaflet/core": "1.0.2",
"@rollup/plugin-alias": "^3.1.0",
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^7.1.0",
"@storybook/addon-actions": "^6.5.5",
"@storybook/addon-essentials": "^6.5.5",
"@storybook/addon-interactions": "^6.5.5",
"@storybook/addon-jest": "^6.5.5",
"@storybook/addon-links": "^6.5.5",
"@storybook/builder-webpack5": "^6.5.5",
"@storybook/manager-webpack5": "^6.5.5",
"@storybook/react": "^6.5.5",
"@storybook/testing-library": "0.0.11",
"@testing-library/jest-dom": "^4.2.0",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.0",
"@turf/bbox-polygon": "^6.5.0",
"@turf/centroid": "^6.5.0",
"@turf/convex": "^6.5.0",
"@turf/flip": "^6.5.0",
"axios": "^0.21.0",
"babel-cli": "^6.26.0",
"babel-preset-react-app": "^10.0.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.0",
"enzyme-to-json": "^3.4.0",
"formik": "^2.1.0",
"i18next-browser-languagedetector": "^6.1.0",
"i18next-conv": "^10.2.0",
"i18next-scanner": "^3.0.0",
"jest-watch-typeahead": "^0.4.2",
"leaflet": "^1.7.1",
"leaflet-control-geocoder": "^2.4.0",
"leaflet.fullscreen": "^1.6.0",
"object-hash": "^3.0.0",
"postcss": "^8.4.6",
"prettier": "^2.7.1",
"prop-types": "^15.8.1",
"query-string": "^7.1.1",
"react": "^16.13.0",
"react-dnd": "^11.1.0",
"react-dnd-html5-backend": "^11.1.0",
"react-dom": "^16.13.0",
"react-i18next": "^11.11.0",
"react-invenio-forms": "^1.0.0",
"react-leaflet": "3.1.0",
"react-leaflet-fullscreen": "^2.0.2",
"react-scripts": "^5.0.1",
"react-semantic-toasts": "^0.6.6",
"rimraf": "^3.0.0",
"rollup": "^2.10.0",
"rollup-plugin-local-resolve": "^1.0.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-postcss": "^4.0.2",
"semantic-ui-css": "^2.4.0",
"semantic-ui-react": "^2.1.0",
"storybook-addon-mock": "^2.4.0"
},
"peerDependencies": {
"@ckeditor/ckeditor5-build-classic": "^16.0.0",
"@ckeditor/ckeditor5-react": "^2.1.0",
"@emotion/react": "^11.9.0",
"@geoman-io/leaflet-geoman-free": "^2.13.0",
"@mapbox/geojsonhint": "^3.0.1",
"@react-leaflet/core": "1.0.2",
"@turf/bbox-polygon": "^6.5.0",
"@turf/centroid": "^6.5.0",
"@turf/convex": "^6.5.0",
"@turf/flip": "^6.5.0",
"axios": "^0.21.0",
"formik": "^2.1.0",
"i18next": "^20.3.0",
"i18next-browser-languagedetector": "^6.1.0",
"leaflet": "^1.7.1",
"leaflet-control-geocoder": "^2.4.0",
"leaflet.fullscreen": "^1.6.0",
"lodash": "^4.17.0",
"object-hash": "^3.0.0",
"prop-types": "^15.8.1",
"query-string": "^7.1.1",
"react": "^16.13.0",
"react-dnd": "^11.1.0",
"react-dnd-html5-backend": "^11.1.0",
"react-dom": "^16.13.0",
"react-i18next": "^11.11.0",
"react-leaflet": "3.1.0",
"semantic-ui-css": "^2.4.0",
"semantic-ui-react": "^2.1.0"
},
"author": {
"name": "GEO Secretariat",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/geo-knowledge-hub/invenio-geographic-components-react.git"
},
"bugs": {
"url": "https://github.com/geo-knowledge-hub/invenio-geographic-components-react/issues"
},
"license": "MIT",
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
],
"engines": {
"node": ">=14.0.0"
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"@translations/i18next": "<rootDir>/src/lib/i18next",
"@tests/setup": "<rootDir>/src/setupTests",
"@tests/mock/(.*)/(.*)": "<rootDir>/src/mocks/$1/$2"
}
}
}