-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
106 lines (106 loc) · 3.44 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
{
"version": "0.32.2",
"repository": {
"type": "git",
"url": "[email protected]:guillotinaweb/guillotina_react.git"
},
"files": [
"dist"
],
"source": "./src/guillo-gmi/index.ts",
"main": "./dist/react-gmi.js",
"module": "./dist/react-gmi.modern.js",
"types": "./dist/index.d.ts",
"unpkg": "./dist/react-gmi.umd.js",
"exports": {
".": {
"import": "./dist/react-gmi.modern.js",
"require": "./dist/react-gmi.js",
"types": "./dist/index.d.ts"
}
},
"name": "@guillotinaweb/react-gmi",
"dependencies": {
"brace": "0.11.1",
"bulma": "0.9.4",
"jwt-decode": "3.1.2",
"prop-types": "15.7.2",
"react-beautiful-dnd": "13.1.1",
"react-intl": "6.5.5",
"react-useportal": "1.0.19",
"uuid": "9.0.1"
},
"peerDependencies": {
"react": "^16.12.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.12.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/cli": "7.12.10",
"@babel/core": "7.12.10",
"@formatjs/cli": "^6.2.4",
"@formatjs/ts-transformer": "^3.13.11",
"@testing-library/jest-dom": "5.11.6",
"@testing-library/react": "11.2.2",
"@testing-library/user-event": "12.6.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@types/uuid":"9.0.8",
"babel-plugin-formatjs": "^10.5.10",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"husky": "4.3.6",
"microbundle": "0.13.0",
"prettier": "2.2.1",
"sass": "1.69.5",
"serialize-javascript": "5.0.1",
"typescript": "5.4.5",
"vitest": "^0.34.6",
"@types/react-beautiful-dnd": "13.1.8"
},
"scripts": {
"format": "prettier --write \"src/**/*.{js,ts,tsx}\"",
"format:tests": "prettier --write \"e2e/cypress/**/*.js\"",
"format:check": "prettier --check \"src/**/*.js\"",
"build": "yarn build:js && yarn build:css",
"build:js": "rm -rf ./dist && microbundle --jsx React.createElement --no-compress --sourcemap",
"build:css": "rm -rf ./dist/css && mkdir -p ./dist/css && sass ./src/guillo-gmi/scss/styles.sass ./dist/css/style.css",
"prepublish": "yarn build",
"test": "vitest run",
"lint": "eslint src",
"intl-extract": "formatjs extract 'src/**/*.js' --out-file src/guillo-gmi/locales/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"intl-compile-en": "formatjs compile src/guillo-gmi/locales/en.json --ast --out-file src/guillo-gmi/locales/compiled/en.json",
"intl-compile-ca": "formatjs compile src/guillo-gmi/locales/ca.json --ast --out-file src/guillo-gmi/locales/compiled/ca.json",
"intl-compile-es": "formatjs compile src/guillo-gmi/locales/es.json --ast --out-file src/guillo-gmi/locales/compiled/es.json",
"intl-compile": "npm run intl-compile-en && npm run intl-compile-es && npm run intl-compile-ca"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "prettier --write \"src/**/*.js\""
}
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"author": "Jordi Collell <[email protected]> ",
"license": "MIT",
"homepage": "https://github.com/guillotinaweb/guillotina_react/",
"packageManager": "[email protected]"
}