-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
184 lines (184 loc) · 7.34 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
{
"name": "@naturacosmeticos/natds-rn",
"version": "7.50.1",
"license": "ISC",
"main": "build/lib/index.js",
"keywords": [
"Design System",
"design-system",
"Natura",
"Natura Design System"
],
"author": "Natura Cosméticos <designsystem@natura.net>",
"contributors": [
"Vicente Lyrio <vicente.lyrio@vizir.com.br>",
"Vagner Saraiva <vagner@vizir.com.br>",
"Matheus Robert Lichtnow <matheus@vizir.com.br>",
"Douglas Freitas <douglasfreitas@natura.net>",
"Ariel FLor <arielwb@gmail.com>",
"Davi Mattos <davimattos.thoughtworks@natura.net>"
],
"description": "Natura Design System for React Native",
"homepage": "https://github.com/natura-cosmeticos/natds-rn",
"repository": {
"type": "git",
"url": "https://github.com/natura-cosmeticos/natds-rn.git"
},
"files": [
"build/lib",
"README.md",
"CHANGELOG.mg",
"tools"
],
"scripts": {
"android": "concurrently --names 'auto-import-stories,react-native' 'rnstl' 'react-native run-android'",
"build:lib": "tsc --project tsconfig.build.json && babel build/lib --out-dir build/lib --ignore node_modules,dist --source-maps --copy-files --no-babelrc --presets react-native",
"build:sample:android": "rnstl && react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res",
"build:sample:ios": "rnstl && react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ios/NaturaReactComponents/main.jsbundle --assets-dest ios",
"build:storybook:md": "node ./bin/docsToStories/buildStorybookDocs.js",
"build:storybook:web": "yarn copy:storybook:assets && yarn build:storybook:md && build-storybook -c storybook-web -o build/storybook -s storybook-web/static",
"build": "yarn clear:build:lib && yarn build:lib && yarn copy:assets",
"clear:build:lib": "rm -rf build/lib",
"clear:build:storybook": "rm -rf build/storybook",
"cm": "git-cz",
"copy:assets": "cp -a src/assets build/lib/assets",
"copy:storybook:assets": "cp -a node_modules/@naturacosmeticos/natds-icons/dist storybook-web/static",
"ios:5": "react-native run-ios --simulator=\"iPhone SE (2nd generation)\"",
"ios": "concurrently --names 'auto-import-stories,react-native' 'rnstl' 'react-native run-ios'",
"lint:commits": "commitlint --from=master",
"lint:fix": "eslint --fix .",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src/ types/",
"postinstall": "npm dedupe && rm package-lock.json && rm -rf node_modules/@types/reach__router",
"publish:release": "./bin/release/release.sh",
"bump:version": "standard-version --releaseCommitMessageFormat 'chore(release): {{currentTag}} [ci skip]'",
"start:clear:cache": "rm -rf /tmp/metro-* && watchman watch-del-all && watchman shutdown-server && yarn start:clear",
"start:clear": "concurrently --names 'auto-import-stories,react-native' 'rnstl' 'yarn start --reset-cache'",
"start": "concurrently --names 'auto-import-stories,react-native' 'rnstl' 'react-native start'",
"storybook:web": "yarn build:storybook:md && yarn copy:storybook:assets && node ./node_modules/@storybook/react/bin/index.js start-storybook -p 9001 -c storybook-web -s storybook-web/static",
"storybook": "start-storybook -p 7007",
"test:clean": "jest --update-snapshot",
"test:coverage": "jest --collectCoverage",
"test:watch": "jest --watch --collectCoverage",
"test": "jest",
"tsc": "tsc --noEmit",
"check:build": "yarn test && yarn tsc && yarn lint && yarn build",
"pod:install": "cd ios && rm -rf Pods && pod install && cd ..",
"generate": "yarn plop --plopfile ./generators/plopfile.js"
},
"dependencies": {
"@naturacosmeticos/natds-icons": "^1.27.5",
"@naturacosmeticos/natds-themes": "^0.80.1",
"react-native-gesture-handler": "^1.10.3",
"react-native-svg": "^12.1.1"
},
"devDependencies": {
"@babel/core": "7.16.5",
"@babel/plugin-proposal-optional-chaining": "7.16.5",
"@babel/runtime": "7.16.5",
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@commitlint/read": "8.3.4",
"@naturacosmeticos/eslint-config-natds": "^0.0.4",
"@react-native-community/eslint-config": "0.0.5",
"@storybook/addon-docs": "5.3.21",
"@storybook/addon-knobs": "5.3.21",
"@storybook/addon-links": "5.3.21",
"@storybook/addon-ondevice-knobs": "5.3.25",
"@storybook/addon-viewport": "5.3.21",
"@storybook/addons": "5.3.21",
"@storybook/api": "5.3.21",
"@storybook/cli": "5.3.21",
"@storybook/components": "5.3.21",
"@storybook/core-events": "5.3.21",
"@storybook/react": "5.3.21",
"@storybook/react-native": "5.3.25",
"@storybook/react-native-server": "5.3.23",
"@storybook/theming": "5.3.21",
"@testing-library/jest-native": "4.0.4",
"@testing-library/react-native": "7.2.0",
"@types/fs-extra": "8.1.0",
"@types/jest": "25.2.3",
"@types/lodash": "4.14.160",
"@types/react": "16.14.21",
"@types/react-dom": "16.9.14",
"@types/react-native": "0.66.10",
"@types/react-test-renderer": "16.9.5",
"@types/semantic-release": "15.13.1",
"@types/styled-components": "5.1.12",
"@typescript-eslint/eslint-plugin": "2.34.0",
"@typescript-eslint/parser": "2.34.0",
"babel-cli": "6.26.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.3",
"babel-plugin-react-native-web": "0.17.5",
"babel-preset-react-native": "1.9.2",
"babel-template": "6.26.0",
"concurrently": "5.3.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.32.0",
"eslint-config-airbnb": "17.1.1",
"eslint-import-resolver-typescript": "2.0.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-mocha": "6.3.0",
"eslint-plugin-react": "7.18.3",
"handlebars": "4.7.7",
"husky": "1.3.1",
"jest": "26.6.3",
"jest-styled-components": "7.0.8",
"metro-react-native-babel-preset": "0.66.2",
"modal-react-native-web": "0.2.0",
"plop": "2.7.6",
"prop-types": "15.7.2",
"react": "17.0.2",
"react-docgen-typescript-loader": "3.7.2",
"react-dom": "16.8.3",
"react-is": "16.13.1",
"react-native": "0.66.3",
"react-native-storybook-loader": "1.8.1",
"react-native-svg-transformer": "0.20.0",
"react-native-svg-web": "1.0.9",
"react-native-web": "0.17.5",
"react-test-renderer": "17.0.2",
"regenerator-runtime": "0.13.9",
"semantic-release": "17.0.4",
"standard-version": "8.0.2",
"styled-components": "5.1.0",
"svg-react-loader": "0.4.6",
"ts-jest": "26.5.6",
"ts-loader": "7.0.5",
"typescript": "3.9.10",
"url-loader": "4.1.1",
"webpack": "4.46.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-native": ">=0.59.10",
"react-native-svg": ">=12.1.1",
"styled-components": ">=5"
},
"engines": {
"node": ">=12"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "yarn lint && yarn tsc && yarn test"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"react-native-storybook-loader": {
"searchDir": [
"./src/components"
],
"pattern": "**/*.device.tsx",
"outputFile": "./storybook/storyLoader.ts"
}
},
"standard-version": {
"no-verify": true
}
}