maisonsport-common-ui
Version:
Suite of styled-components to be consumed by the React-Native App and by the Web (via React-Native for Web)
104 lines (103 loc) • 2.83 kB
JSON
{
"name": "maisonsport-common-ui",
"version": "0.20.1",
"description": "Suite of styled-components to be consumed by the React-Native App and by the Web (via React-Native for Web)",
"main": "dist/commonjs/index.js",
"module": "dist/module/index.js",
"react-native": "dist/commonjs/index.js",
"types": "dist/typescript/index.d.ts",
"files": [
"src/",
"dist/"
],
"scripts": {
"test": "jest",
"lint": "eslint .",
"watch": "nodemon --watch src --exec npm pack",
"prepare": "npm run test && npm run lint && bob build"
},
"keywords": [
"maisonsport",
"common-ui",
"styled-components",
"react-native",
"react-native-for-web"
],
"bugs": {
"url": "https://gitlab.com/maisonsport/frontend/common-ui/-/issues"
},
"homepage": "https://gitlab.com/maisonsport/frontend/common-ui",
"author": "",
"license": "ISC",
"dependencies": {
"@seznam/compose-react-refs": "^1.0.4",
"@typescript-eslint/parser": "^4.15.2",
"accessible-system": "^0.2.4",
"babel-eslint": "^10.1.0",
"crypto-js": "^4.0.0",
"date-fns": "^2.17.0",
"debounce": "^1.2.0",
"email-validator": "^2.0.4",
"emoji-regex": "^9.2.0",
"mockdate": "^3.0.2",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-native": "0.63.2",
"react-test-renderer": "^16.13.1",
"styled-components": "^5.2.0",
"styled-system": "^5.1.5",
"validator": "^13.1.17"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@react-native-community/bob": "^0.16.2",
"@testing-library/jest-native": "^3.4.3",
"@testing-library/react-native": "^7.0.2",
"@types/jest": "^26.0.23",
"babel-jest": "^26.5.2",
"eslint": "^7.11.0",
"eslint-config-maisonsport": "^1.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.21.4",
"eslint-plugin-react-hooks": "^4.1.2",
"jest": "^26.5.3",
"nodemon": "^2.0.7",
"typescript": "^4.2.2"
},
"jest": {
"preset": "react-native",
"setupFiles": [
"./src/setupTests.js"
],
"moduleFileExtensions": [
"js",
"tsx"
],
"transform": {
"^.+\\.(js)$": "<rootDir>/node_modules/babel-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(js|tsx)$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/node_modules/",
"node_modules/(?!react-native|react-navigation)"
],
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
],
"cacheDirectory": ".jest/cache",
"setupFilesAfterEnv": [
"@testing-library/jest-native/extend-expect"
]
},
"@react-native-community/bob": {
"source": "src",
"output": "dist",
"targets": [
"commonjs",
"typescript"
]
}
}