-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
136 lines (136 loc) · 4.4 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
{
"name": "@geo-knowledge-hub/geo-comments-react",
"version": "0.3.0",
"main": "dist/cjs/index.js",
"browser": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"files": [
"dist"
],
"scripts": {
"start": "react-scripts start",
"prepare": "rimraf dist && NODE_ENV=production rollup -c --failAfterWarnings",
"build": "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 --silent",
"eject": "react-scripts eject",
"lint": "eslint src/**/*.js",
"format": "prettier --config ./.prettierrc --ignore-path ./.prettierignore --write \"src/**/*.js\""
},
"author": {
"name": "GEO Secretariat",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/geo-knowledge-hub/geo-comments-react.git"
},
"bugs": {
"url": "https://github.com/geo-knowledge-hub/geo-comments-react/issues"
},
"license": "MIT",
"eslintConfig": {
"extends": "react-app"
},
"devDependencies": {
"@babel/cli": "^7.5.0",
"@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",
"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",
"@testing-library/jest-dom": "^4.2.0",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.0",
"rimraf": "^3.0.0",
"urlcat": "^2.0.4",
"axios": "^0.21.0",
"jest-watch-typeahead": "^0.4.2",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.0",
"enzyme-to-json": "^3.4.0",
"formik": "^2.1.0",
"lodash": "^4.17.0",
"query-string": "^7.1.1",
"semantic-ui-react": "^2.1.0",
"semantic-ui-css": "^2.4.0",
"prettier": "^2.7.1",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-scripts": "^5.0.1",
"react-i18next": "^11.11.0",
"react-invenio-forms": "^1.0.0",
"@ckeditor/ckeditor5-build-classic": "^16.0.0",
"@ckeditor/ckeditor5-react": "^2.1.0",
"yup": "^0.32.11",
"redux": "^4.0.0",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0",
"react-redux": "^7.2.0",
"luxon": "^1.23.0",
"i18next": "^20.3.0",
"i18next-browser-languagedetector": "^6.1.0"
},
"peerDependencies": {
"urlcat": "^2.0.4",
"axios": "^0.21.0",
"formik": "^2.1.0",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"lodash": "^4.17.0",
"query-string": "^7.1.1",
"semantic-ui-react": "^2.1.0",
"semantic-ui-css": "^2.4.0",
"@babel/runtime": "^7.9.0",
"react-invenio-forms": "^1.0.0",
"@ckeditor/ckeditor5-build-classic": "^16.0.0",
"@ckeditor/ckeditor5-react": "^2.1.0",
"yup": "^0.32.11",
"redux": "^4.0.0",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0",
"react-redux": "^7.2.0",
"luxon": "^1.23.0",
"i18next": "^20.3.0",
"i18next-browser-languagedetector": "^6.1.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"not IE 11"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
"node": ">=14.0.0"
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"@tests/renders": "<rootDir>/src/setupTests",
"@tests/mocks/(.*)/(.*)": "<rootDir>/src/mocks/$1/$2",
"@translations/i18next": "<rootDir>/src/lib/i18next"
}
}
}