@razorpay/blade 1.0.0 → 3.1.4-npm-publish-test.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/package.json +157 -108
  2. package/.babelrc.js +0 -56
  3. package/.eslintignore +0 -21
  4. package/.eslintrc.js +0 -28
  5. package/.prettierignore +0 -21
  6. package/.prettierrc.js +0 -12
  7. package/.stylelintrc.js +0 -4
  8. package/README.md +0 -3
  9. package/android/.watchmanconfig +0 -1
  10. package/android/app/_BUCK +0 -55
  11. package/android/app/build.gradle +0 -200
  12. package/android/app/build_defs.bzl +0 -19
  13. package/android/app/debug.keystore +0 -0
  14. package/android/app/proguard-rules.pro +0 -10
  15. package/android/app/src/debug/AndroidManifest.xml +0 -8
  16. package/android/app/src/main/AndroidManifest.xml +0 -26
  17. package/android/app/src/main/assets/fonts/Lato-Light.ttf +0 -0
  18. package/android/app/src/main/assets/fonts/Lato-Regular.ttf +0 -0
  19. package/android/app/src/main/assets/fonts/Lato_bold.ttf +0 -0
  20. package/android/app/src/main/java/com/blade/MainActivity.java +0 -15
  21. package/android/app/src/main/java/com/blade/MainApplication.java +0 -74
  22. package/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  23. package/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  24. package/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  25. package/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  26. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  27. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  28. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  29. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  30. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  31. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  32. package/android/app/src/main/res/values/strings.xml +0 -3
  33. package/android/app/src/main/res/values/styles.xml +0 -9
  34. package/android/build.gradle +0 -38
  35. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  36. package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  37. package/android/gradle.properties +0 -21
  38. package/android/gradlew +0 -188
  39. package/android/gradlew.bat +0 -100
  40. package/android/settings.gradle +0 -3
  41. package/ios/Podfile +0 -43
  42. package/ios/Podfile.lock +0 -338
  43. package/ios/blade/AppDelegate.h +0 -15
  44. package/ios/blade/AppDelegate.m +0 -42
  45. package/ios/blade/Base.lproj/LaunchScreen.xib +0 -42
  46. package/ios/blade/Images.xcassets/AppIcon.appiconset/1024.png +0 -0
  47. package/ios/blade/Images.xcassets/AppIcon.appiconset/114.png +0 -0
  48. package/ios/blade/Images.xcassets/AppIcon.appiconset/120.png +0 -0
  49. package/ios/blade/Images.xcassets/AppIcon.appiconset/180.png +0 -0
  50. package/ios/blade/Images.xcassets/AppIcon.appiconset/29.png +0 -0
  51. package/ios/blade/Images.xcassets/AppIcon.appiconset/40.png +0 -0
  52. package/ios/blade/Images.xcassets/AppIcon.appiconset/57.png +0 -0
  53. package/ios/blade/Images.xcassets/AppIcon.appiconset/58.png +0 -0
  54. package/ios/blade/Images.xcassets/AppIcon.appiconset/60.png +0 -0
  55. package/ios/blade/Images.xcassets/AppIcon.appiconset/80.png +0 -0
  56. package/ios/blade/Images.xcassets/AppIcon.appiconset/87.png +0 -0
  57. package/ios/blade/Images.xcassets/AppIcon.appiconset/Contents.json +0 -100
  58. package/ios/blade/Images.xcassets/Contents.json +0 -6
  59. package/ios/blade/Info.plist +0 -65
  60. package/ios/blade/main.m +0 -16
  61. package/ios/blade.xcodeproj/project.pbxproj +0 -619
  62. package/ios/blade.xcodeproj/xcshareddata/xcschemes/blade.xcscheme +0 -129
  63. package/ios/blade.xcworkspace/contents.xcworkspacedata +0 -10
  64. package/ios/blade.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  65. package/ios/bladeTests/Info.plist +0 -24
  66. package/ios/bladeTests/bladeTests.m +0 -72
  67. package/jest-preprocess.js +0 -3
  68. package/jest.native.config.js +0 -24
  69. package/jest.web.config.js +0 -21
  70. package/metro.config.js +0 -11
  71. package/public/fonts/Lato-Bold.ttf +0 -0
  72. package/public/fonts/Lato-Light.ttf +0 -0
  73. package/public/fonts/Lato-Regular.ttf +0 -0
  74. package/react-native.config.js +0 -5
  75. package/src/atoms/Button/Button.native.js +0 -30
  76. package/src/atoms/Button/Button.stories.js +0 -11
  77. package/src/atoms/Button/Button.web.js +0 -20
  78. package/src/atoms/Button/__tests__/Button.native.test.js +0 -26
  79. package/src/atoms/Button/__tests__/Button.web.test.js +0 -19
  80. package/src/atoms/Button/__tests__/__snapshots__/Button.native.test.js.snap +0 -42
  81. package/src/atoms/Button/__tests__/__snapshots__/Button.web.test.js.snap +0 -11
  82. package/src/atoms/Button/index.js +0 -1
  83. package/src/scripts/build.js +0 -86
  84. package/src/setupTests.js +0 -5
  85. package/src/storybook.test.js +0 -2
  86. package/src/tokens/colors.js +0 -101
  87. package/src/tokens/fonts.js +0 -33
  88. package/src/tokens/index.js +0 -5
  89. package/src/tokens/spacings.js +0 -13
  90. package/storybook/native/main.js +0 -35
  91. package/storybook/native/rn-addons.js +0 -2
  92. package/storybook/web/main.js +0 -10
  93. package/storybook/web/manager.js +0 -12
  94. package/storybook/web/preview.js +0 -11
  95. package/storybook/web/webpack.config.js +0 -5
  96. package/tsconfig.json +0 -12
package/package.json CHANGED
@@ -1,122 +1,171 @@
1
1
  {
2
2
  "name": "@razorpay/blade",
3
- "author": "kamleshchandnani",
4
- "version": "1.0.0",
3
+ "version": "3.1.4-npm-publish-test.1",
5
4
  "license": "MIT",
6
5
  "engines": {
7
- "node": ">=10.18.0"
6
+ "node": ">=14.19.0"
8
7
  },
9
- "dependencies": {
10
- "prop-types": "15.7.2",
11
- "react": "16.9.0",
12
- "react-dom": "16.9.0",
13
- "react-native": "0.61.5",
14
- "styled-components": "5.0.0",
15
- "typescript": "3.7.5"
16
- },
17
- "devDependencies": {
18
- "@babel/cli": "7.8.4",
19
- "@babel/core": "7.8.3",
20
- "@babel/preset-env": "7.8.3",
21
- "@babel/preset-react": "7.8.3",
22
- "@babel/runtime": "7.6.2",
23
- "@react-native-community/eslint-config": "0.0.5",
24
- "@rollup/plugin-commonjs": "11.0.2",
25
- "@rollup/plugin-json": "4.0.2",
26
- "@rollup/plugin-node-resolve": "7.1.1",
27
- "@storybook/addon-actions": "5.3.9",
28
- "@storybook/addon-docs": "5.3.9",
29
- "@storybook/addon-knobs": "5.3.9",
30
- "@storybook/addon-links": "5.3.8",
31
- "@storybook/addon-ondevice-knobs": "5.3.8",
32
- "@storybook/addon-ondevice-notes": "5.3.8",
33
- "@storybook/addon-storyshots": "5.3.8",
34
- "@storybook/addons": "5.3.8",
35
- "@storybook/react": "5.3.8",
36
- "@storybook/react-native": "5.3.9",
37
- "@storybook/theming": "5.3.9",
38
- "@testing-library/jest-dom": "4.2.4",
39
- "@testing-library/react": "9.4.0",
40
- "@testing-library/react-native": "5.0.3",
41
- "@testing-library/user-event": "7.1.2",
42
- "babel-eslint": "10.0.3",
43
- "babel-jest": "24.9.0",
44
- "babel-loader": "8.0.6",
45
- "babel-plugin-module-resolver": "4.0.0",
46
- "babel-plugin-styled-components": "1.10.7",
47
- "chalk": "3.0.0",
48
- "cz-conventional-changelog": "3.1.0",
49
- "eslint": "6.8.0",
50
- "eslint-config-kentcdodds": "14.7.0",
51
- "eslint-config-prettier": "6.10.0",
52
- "eslint-plugin-prettier": "3.1.2",
53
- "eslint-plugin-react": "7.18.0",
54
- "husky": "4.2.1",
55
- "jest": "24.9.0",
56
- "lint-staged": "10.0.4",
57
- "metro-react-native-babel-preset": "0.56.0",
58
- "prettier": "1.19.1",
59
- "react-test-renderer": "16.12.0",
60
- "rollup": "1.31.0",
61
- "rollup-plugin-babel": "4.3.3",
62
- "rollup-plugin-peer-deps-external": "2.2.2",
63
- "semantic-release": "17.0.2",
64
- "shelljs": "0.8.3",
65
- "stylelint": "13.0.0",
66
- "stylelint-config-recommended": "3.0.0",
67
- "stylelint-config-styled-components": "0.1.1",
68
- "stylelint-processor-styled-components": "1.9.0"
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "ssh://git@github.com/razorpay/blade.git"
69
11
  },
70
- "peerDependencies": {
71
- "prop-types": "^15.7.2",
72
- "react": "^16.9.0",
73
- "react-dom": "^16.9.0",
74
- "react-native": "0.61.5",
75
- "styled-components": "^4.3.2"
12
+ "files": [
13
+ "build",
14
+ "components.d.ts",
15
+ "components.js",
16
+ "tokens.d.ts",
17
+ "tokens.js",
18
+ "utils.d.ts",
19
+ "utils.js"
20
+ ],
21
+ "exports": {
22
+ "./components": {
23
+ "react-native": "./build/components/index.native.js",
24
+ "default": "./build/components/index.web.js"
25
+ },
26
+ "./tokens": {
27
+ "react-native": "./build/tokens/index.native.js",
28
+ "default": "./build/tokens/index.web.js"
29
+ },
30
+ "./utils": {
31
+ "react-native": "./build/utils/index.native.js",
32
+ "default": "./build/utils/index.web.js"
33
+ }
76
34
  },
77
35
  "scripts": {
78
- "web": "npm run web:storybook",
79
- "web:storybook": "BABEL_ENV=web-development start-storybook -c ./storybook/web -p 9009 -s docs",
80
- "web:storybook:build": "BABEL_ENV=web-production build-storybook -c ./storybook/web -o docs",
81
- "build": "tsc && node ./src/scripts/build.js",
82
- "native:ios": "react-native run-ios",
83
- "native:android": "react-native run-android",
84
- "chromatic": "CHROMATIC_APP_CODE=gx0k8mh119 chromatic",
85
- "test:native": "BABEL_ENV=development jest -c ./jest.native.config.js",
86
- "test:native:coverage": "yarn run test:native --coverage",
87
- "test:web": "BABEL_ENV=web-development jest -c ./jest.web.config.js",
88
- "test:web:coverage": "yarn run test:web --coverage"
36
+ "typecheck": "run-s types:typecheck:*",
37
+ "prepublish": "yarn build",
38
+ "build": "run-s build:*",
39
+ "clearCache": "jest --clearCache",
40
+ "build:clean": "rm -rf build",
41
+ "build:generate-types": "run-s types:generate-types:*",
42
+ "build:copy-declarations": "run-s types:copy-declarations:*",
43
+ "types:generate-types:web": "tsc -p ./tsconfig-generate-types.web.json",
44
+ "types:generate-types:native": "tsc -p ./tsconfig-generate-types.native.json",
45
+ "types:typecheck:web": "tsc -p ./tsconfig-typecheck.web.json",
46
+ "types:typecheck:native": "tsc -p ./tsconfig-typecheck.native.json",
47
+ "types:copy-declarations:web": "copyfiles -u 1 \"src/**/*.d.ts\" build/types/web",
48
+ "types:copy-declarations:native": "copyfiles -u 1 \"src/**/*.d.ts\" build/types/native",
49
+ "build:generate-root-imports": "rollup -c && node ./scripts/generateRootImports.js",
50
+ "build:clean-declarations": "rm -rf build/types",
51
+ "build:react": "FRAMEWORK=REACT rollup -c && node ./scripts/generateRootImports.js",
52
+ "build:react-native": "FRAMEWORK=REACT_NATIVE rollup -c && node ./scripts/generateRootImports.js",
53
+ "build:generate-css-variables": "GENERATE_CSS_VARIABLES=true FRAMEWORK=REACT rollup -c && node ./scripts/generateCssThemeVariables.js",
54
+ "build:clean-theme-bundle": "rm -rf build/js-bundle-for-css",
55
+ "react-native:get-stories": "sb-rn-get-stories --config-path=./.storybook/react-native && yarn prettier --write ./.storybook/react-native/storybook.requires.js",
56
+ "react-native:storybook:android": "yarn react-native:get-stories && FRAMEWORK=REACT_NATIVE react-native run-android",
57
+ "react-native:storybook:ios": "yarn react-native:get-stories && FRAMEWORK=REACT_NATIVE react-native run-ios",
58
+ "react-native:storybook:start": "yarn react-native:get-stories && FRAMEWORK=REACT_NATIVE react-native start --reset-cache",
59
+ "react": "yarn run react:storybook",
60
+ "react:storybook": "FRAMEWORK=REACT start-storybook -c ./.storybook/react -p 9009",
61
+ "react:storybook:build": "FRAMEWORK=REACT build-storybook -c ./.storybook/react -o storybook-site",
62
+ "test:react": "FRAMEWORK=REACT jest -c ./jest.web.config.js",
63
+ "test:react-native": "FRAMEWORK=REACT_NATIVE jest -c ./jest.native.config.js",
64
+ "start:ios": "run-p react-native:storybook:start react-native:storybook:ios",
65
+ "start:android": "run-p react-native:storybook:start react-native:storybook:android",
66
+ "start:native": "run-p react-native:storybook:start react-native:storybook:android react-native:storybook:ios",
67
+ "start:web": "yarn react",
68
+ "start:all": "run-p start:native start:web",
69
+ "chromatic": "npx chromatic",
70
+ "publish-npm": "npm publish --tag next --\"@razorpay:registry=https://registry.npmjs.org/\""
89
71
  },
90
- "husky": {
91
- "hooks": {
92
- "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
93
- "pre-commit": "lint-staged"
94
- }
72
+ "dependencies": {
73
+ "@babel/runtime": "7.16.5",
74
+ "use-presence": "1.1.0"
95
75
  },
96
- "lint-staged": {
97
- "*.(js|jsx)": [
98
- "eslint",
99
- "stylelint"
100
- ],
101
- "*.(js|json|jsx)": [
102
- "prettier --write"
103
- ]
76
+ "devDependencies": {
77
+ "@babel/core": "7.16.5",
78
+ "@babel/plugin-transform-react-jsx": "7.16.5",
79
+ "@babel/plugin-transform-runtime": "7.16.5",
80
+ "@babel/preset-env": "7.16.5",
81
+ "@babel/preset-react": "7.16.5",
82
+ "@babel/preset-typescript": "7.16.5",
83
+ "@react-native-async-storage/async-storage": "1.15.14",
84
+ "@react-native-community/datetimepicker": "5.0.1",
85
+ "@react-native-community/slider": "4.1.12",
86
+ "@rollup/plugin-alias": "3.1.9",
87
+ "@rollup/plugin-babel": "5.3.1",
88
+ "@rollup/plugin-commonjs": "21.1.0",
89
+ "@rollup/plugin-node-resolve": "13.1.1",
90
+ "@storybook/addon-a11y": "6.3.0",
91
+ "@storybook/addon-actions": "6.3.0",
92
+ "@storybook/addon-controls": "6.3",
93
+ "@storybook/addon-docs": "6.3.0",
94
+ "@storybook/addon-essentials": "6.3.0",
95
+ "@storybook/addon-links": "6.3.0",
96
+ "@storybook/addon-ondevice-actions": "6.0.1-beta.7",
97
+ "@storybook/addon-ondevice-backgrounds": "6.0.1-alpha.7",
98
+ "@storybook/addon-ondevice-controls": "6.0.1-alpha.7",
99
+ "@storybook/addon-ondevice-notes": "6.0.1-alpha.7",
100
+ "@storybook/design-system": "7.3.4",
101
+ "@storybook/node-logger": "6.3.0",
102
+ "@storybook/preset-create-react-app": "3.2.0",
103
+ "@storybook/react": "6.3.0",
104
+ "@storybook/react-native": "6.0.1-alpha.7",
105
+ "@testing-library/jest-dom": "5.16.4",
106
+ "@testing-library/jest-native": "4.0.11",
107
+ "@testing-library/react": "12.1.5",
108
+ "@testing-library/react-hooks": "5.1.2",
109
+ "@testing-library/react-native": "9.1.0",
110
+ "@testing-library/user-event": "14.4.1",
111
+ "@types/jest": "26.0.23",
112
+ "@types/jest-axe": "3.5.3",
113
+ "@types/lodash": "4.14.168",
114
+ "@types/react": "17.0.38",
115
+ "@types/react-native": "0.66.9",
116
+ "@types/react-test-renderer": "17.0.1",
117
+ "@types/styled-components": "5.1.25",
118
+ "@types/styled-components-react-native": "5.1.3",
119
+ "any-leaf": "1.2.2",
120
+ "babel-jest": "26.6.3",
121
+ "babel-loader": "8.2.3",
122
+ "babel-plugin-module-resolver": "4.1.0",
123
+ "babel-plugin-styled-components": "1.12.0",
124
+ "chalk": "4.1.1",
125
+ "copyfiles": "2.4.1",
126
+ "eslint-plugin-mdx": "1.16.0",
127
+ "execa": "5.0.0",
128
+ "figures": "3.2.0",
129
+ "flat": "5.0.2",
130
+ "ismobilejs": "1.1.1",
131
+ "jest": "26.6.3",
132
+ "jest-axe": "6.0.0",
133
+ "jest-matchmedia-mock": "1.1.0",
134
+ "jest-styled-components": "7.0.8",
135
+ "jest-useragent-mock": "0.1.1",
136
+ "lodash": "4.17.21",
137
+ "metro-react-native-babel-preset": "0.66.2",
138
+ "moniker": "0.1.2",
139
+ "npm-run-all": "4.1.5",
140
+ "outdent": "0.8.0",
141
+ "react": "17.0.2",
142
+ "react-dom": "17.0.2",
143
+ "react-native": "0.66.4",
144
+ "react-native-reanimated": "2.6.0",
145
+ "react-native-svg": "12.3.0",
146
+ "react-scripts": "4.0.3",
147
+ "react-test-renderer": "17.0.2",
148
+ "rollup": "2.61.1",
149
+ "rollup-plugin-dts": "4.0.1",
150
+ "rollup-plugin-peer-deps-external": "2.2.4",
151
+ "style-dictionary": "3.7.1",
152
+ "styled-components": "5.3.5",
153
+ "tsconfig-paths-webpack-plugin": "3.5.2"
104
154
  },
105
- "config": {
106
- "commitizen": {
107
- "path": "./node_modules/cz-conventional-changelog"
108
- }
155
+ "peerDependencies": {
156
+ "@babel/runtime": "^7.16.5",
157
+ "react": "^17.0.2",
158
+ "react-dom": "^17.0.2",
159
+ "react-native": "^0.66.4",
160
+ "react-native-reanimated": "^2.6.0",
161
+ "react-native-svg": "^12.3.0",
162
+ "styled-components": "^5"
109
163
  },
110
- "browserslist": {
111
- "production": [
112
- ">0.2%",
113
- "not dead",
114
- "not op_mini all"
115
- ],
116
- "development": [
117
- "last 1 chrome version",
118
- "last 1 firefox version",
119
- "last 1 safari version"
120
- ]
164
+ "resolutions": {
165
+ "@storybook/**/react-dom": "17.0.2",
166
+ "@storybook/**/react": "17.0.2",
167
+ "react-dom": "17.0.2",
168
+ "react": "17.0.2",
169
+ "styled-components": "^5"
121
170
  }
122
171
  }
package/.babelrc.js DELETED
@@ -1,56 +0,0 @@
1
- module.exports = {
2
- env: {
3
- development: {
4
- presets: ['module:metro-react-native-babel-preset'],
5
- plugins: [
6
- [
7
- 'module-resolver',
8
- {
9
- alias: {
10
- '@storybook/react': '@storybook/react-native',
11
- },
12
- },
13
- ],
14
- ],
15
- },
16
- production: {
17
- presets: ['module:metro-react-native-babel-preset'],
18
- plugins: [
19
- [
20
- 'module-resolver',
21
- {
22
- alias: {
23
- '@storybook/react': '@storybook/react-native',
24
- },
25
- },
26
- ],
27
- ],
28
- },
29
- 'web-development': {
30
- presets: [['@babel/preset-env', { modules: false }], '@babel/preset-react'],
31
- plugins: [
32
- [
33
- 'babel-plugin-styled-components',
34
- {
35
- displayName: true,
36
- pure: false,
37
- ssr: true,
38
- },
39
- ],
40
- ],
41
- },
42
- 'web-production': {
43
- presets: [['@babel/preset-env', { modules: false }], '@babel/preset-react'],
44
- plugins: [
45
- [
46
- 'babel-plugin-styled-components',
47
- {
48
- displayName: true,
49
- pure: true,
50
- ssr: true,
51
- },
52
- ],
53
- ],
54
- },
55
- },
56
- };
package/.eslintignore DELETED
@@ -1,21 +0,0 @@
1
- # dependencies
2
- node_modules
3
-
4
- # testing
5
- coverage
6
-
7
- # build direcotries
8
- docs
9
- build
10
-
11
- # misc
12
- .DS_Store
13
- .env.local
14
- .env.development.local
15
- .env.test.local
16
- .env.production.local
17
-
18
- #error logs
19
- npm-debug.log*
20
- yarn-debug.log*
21
- yarn-error.log*
package/.eslintrc.js DELETED
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- extends: ['kentcdodds', 'kentcdodds/react', 'plugin:prettier/recommended'],
3
- rules: {
4
- 'no-negated-condition': 'off',
5
- 'import/order': 'off',
6
- 'max-lines-per-function': 'off',
7
- 'no-console': ['warn'],
8
- },
9
- env: {
10
- browser: true,
11
- jest: true,
12
- },
13
- settings: {
14
- 'import/resolver': {
15
- node: {
16
- extensions: [
17
- '.js',
18
- '.web.js',
19
- '.desktop.js',
20
- '.mobile.js',
21
- '.native.js',
22
- '.ios.js',
23
- '.android.js',
24
- ],
25
- },
26
- },
27
- },
28
- };
package/.prettierignore DELETED
@@ -1,21 +0,0 @@
1
- # dependencies
2
- node_modules
3
-
4
- # testing
5
- coverage
6
-
7
- # build direcotries
8
- docs
9
- build
10
-
11
- # misc
12
- .DS_Store
13
- .env.local
14
- .env.development.local
15
- .env.test.local
16
- .env.production.local
17
-
18
- #error logs
19
- npm-debug.log*
20
- yarn-debug.log*
21
- yarn-error.log*
package/.prettierrc.js DELETED
@@ -1,12 +0,0 @@
1
- module.exports = {
2
- printWidth: 100,
3
- tabWidth: 2,
4
- useTabs: false,
5
- semi: true,
6
- singleQuote: true,
7
- jsxSingleQuote: false,
8
- trailingComma: 'all',
9
- bracketSpacing: true,
10
- jsxBracketSameLine: false,
11
- arrowParens: 'always',
12
- };
package/.stylelintrc.js DELETED
@@ -1,4 +0,0 @@
1
- module.exports = {
2
- processors: ['stylelint-processor-styled-components'],
3
- extends: ['stylelint-config-recommended', 'stylelint-config-styled-components'],
4
- };
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # blade
2
-
3
- Design System that powers Razorpay
@@ -1 +0,0 @@
1
- {}
package/android/app/_BUCK DELETED
@@ -1,55 +0,0 @@
1
- # To learn about Buck see [Docs](https://buckbuild.com/).
2
- # To run your application with Buck:
3
- # - install Buck
4
- # - `npm start` - to start the packager
5
- # - `cd android`
6
- # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7
- # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8
- # - `buck install -r android/app` - compile, install and run application
9
- #
10
-
11
- load(":build_defs.bzl", "create_aar_targets", "create_jar_targets")
12
-
13
- lib_deps = []
14
-
15
- create_aar_targets(glob(["libs/*.aar"]))
16
-
17
- create_jar_targets(glob(["libs/*.jar"]))
18
-
19
- android_library(
20
- name = "all-libs",
21
- exported_deps = lib_deps,
22
- )
23
-
24
- android_library(
25
- name = "app-code",
26
- srcs = glob([
27
- "src/main/java/**/*.java",
28
- ]),
29
- deps = [
30
- ":all-libs",
31
- ":build_config",
32
- ":res",
33
- ],
34
- )
35
-
36
- android_build_config(
37
- name = "build_config",
38
- package = "com.blade",
39
- )
40
-
41
- android_resource(
42
- name = "res",
43
- package = "com.blade",
44
- res = "src/main/res",
45
- )
46
-
47
- android_binary(
48
- name = "app",
49
- keystore = "//android/keystores:debug",
50
- manifest = "src/main/AndroidManifest.xml",
51
- package_type = "debug",
52
- deps = [
53
- ":app-code",
54
- ],
55
- )