|
15 | 15 | "module": "lib/module/index.js", |
16 | 16 | "react-native": "src/index.ts", |
17 | 17 | "types": "lib/typescript/index.d.ts", |
18 | | - "files": [ |
19 | | - "src", |
20 | | - "lib", |
21 | | - "package.json", |
22 | | - "README.md" |
23 | | - ], |
| 18 | + "files": ["src", "lib", "package.json", "README.md"], |
24 | 19 | "scripts": { |
25 | 20 | "analyze": "yarn build -- --stats && webpack-bundle-analyzer build/bundle-stats.json", |
26 | 21 | "build": "rm -rf lib && yarn run --silent build-translations && bob build && yarn run --silent copy-translations && yarn run --silent lint-fix-translations", |
27 | 22 | "lint-fix-translations": "prettier --check 'src/i18n/*.json' --write 'src/i18n/*.json' .eslintrc.json ../.prettierrc .babelrc", |
28 | 23 | "build-translations": "rm -rf .tmpi18ncache || true && mkdir .tmpi18ncache && yarn run babel --config-file ./babel.i18next-extract.json 'src/**/*.{js,jsx,ts,tsx}' --out-dir '.tmpi18ncache/' && rm -rf .tmpi18ncache && prettier --write 'src/i18n/*.{js,ts,tsx,md,json}' .eslintrc.json ../.prettierrc .babelrc", |
29 | 24 | "copy-translations": "echo '\u001b[34mβΉ\u001b[0m Copying translation files to \u001b[34mlib/typescript/i18n\u001b[0m' && cp -R -f ./src/i18n ./lib/typescript/i18n && echo '\u001b[32mβ\u001b[0m Done Copying Translations'", |
30 | | - "docs": "styleguidist build", |
31 | | - "docs-server": "styleguidist server", |
32 | 25 | "eslint": "eslint 'src/**/*.{js,md,ts,jsx,tsx}' --max-warnings 0", |
33 | 26 | "lint": "prettier --ignore-path ../.prettierignore --list-different 'src/**/*.{js,ts,tsx,md,json}' .eslintrc.json ../.prettierrc .babelrc && eslint 'src/**/*.{js,ts,tsx,md}' --max-warnings 0 && yarn run validate-translations", |
34 | 27 | "lint-fix": "prettier --ignore-path ../.prettierignore --write 'src/**/*.{js,ts,tsx,md,json}' .eslintrc.json ../.prettierrc .babelrc && eslint --fix 'src/**/*.{js,ts,tsx,md}' --max-warnings 0", |
|
138 | 131 | "react-native-svg": "12.1.1", |
139 | 132 | "react-native-typescript-transformer": "1.2.13", |
140 | 133 | "react-native-web": "0.15.0", |
141 | | - "react-styleguidist": "11.1.6", |
142 | 134 | "react-test-renderer": "17.0.2", |
143 | 135 | "typescript": "4.4.3", |
144 | 136 | "uuid": "8.3.2", |
|
0 commit comments