forked from Instawork/hyperview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 5.14 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
{
"name": "hyperview",
"version": "0.75.0",
"main": "lib/index.js",
"description": "React Native client for Hyperview XML",
"homepage": "https://hyperview.org",
"keywords": [
"hyperview",
"react-native-hyperview",
"hyperview-xml"
],
"bugs": {
"url": "https://github.com/Instawork/hyperview/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/Instawork/hyperview"
},
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"scripts": {
"build": "babel src --extensions \".ts,.tsx,.js,.jsx\" --out-dir lib",
"sync": "babel-node ./scripts/sync",
"generate": "babel-node ./scripts/generate",
"preversion": "yarn test && yarn build",
"prettify": "pretty-quick && prettier --write '**/*.xsd' '**/*.xml' '**/*.md'",
"postversion": "yarn publish --new-version $npm_package_version && cd demo && yarn add hyperview@$npm_package_version && git add package.json yarn.lock && git commit -m\"chore(demo): update Hyperview to v$npm_package_version\" && cd .. && git push --follow-tags",
"format-njk": "./scripts/format-njk.sh",
"release:patch": "yarn version --patch",
"release:minor": "yarn version --minor",
"release:major": "yarn version --major",
"storybook": "storybook start -p 7007",
"test:ts": "tsc",
"test:generators": "yarn generate test && git diff --quiet HEAD",
"test:lint": "eslint src && prettier --check '**/*.xsd' '**/*.xml' '**/*.md' && yarn format-njk -c",
"test:render": "npx patch-package && jest test/render.test.ts --forceExit",
"test:unit": "jest --testPathPattern src",
"test:xmlserver": "eleventy --serve --port=8085",
"test:validate-xml": "eleventy; find _examples_site test/schema -name '*.xml' -not -path '*/advanced_behaviors/instawork.xml' -not -path '*/advanced_behaviors/custom_share.xml' -not -path '*/advanced_behaviors/alert/behavior.xml' -not -path '*/case_studies/business_rating.xml' -not -path '*/case_studies/_rating_save.xml' -not -path '*/index.xml' -not -path '*/index_hyperview.xml' | xargs xmllint --schema schema/hyperview.xsd --noout",
"test": "yarn generate test && yarn test:ts && yarn test:lint && yarn test:render && yarn test:unit && yarn test:validate-xml"
},
"dependencies": {
"@instawork/xmldom": "0.0.3",
"lodash": "4.17.21",
"tiny-emitter": "2.1.0",
"url-parse": "1.5.10"
},
"peerDependencies": {
"@react-native-community/datetimepicker": "^6.1.1",
"@react-native-picker/picker": "^2.4.0",
"@react-navigation/bottom-tabs": "^6.5.7",
"@react-navigation/native": "^6.1.6",
"@react-navigation/stack": "^6.3.16",
"@types/react": "^17.0.67",
"react": "^17.0.2",
"react-native": "^0.67.4",
"react-native-gesture-handler": "^2.11.0",
"react-native-keyboard-aware-scrollview": "^2.1.0",
"react-native-safe-area-context": "^4.2.4",
"react-native-webview": "^10.10.2"
},
"devDependencies": {
"@11ty/eleventy": "^1.0.0",
"@babel/cli": "7.13.0",
"@babel/core": "7.13.1",
"@babel/eslint-parser": "7.13.4",
"@babel/node": "7.13.0",
"@babel/runtime": "7.13.7",
"@faker-js/faker": "^8.0.2",
"@prettier/plugin-xml": "0.13.0",
"@react-native-community/datetimepicker": "6.1.1",
"@react-native-picker/picker": "2.4.0",
"@react-navigation/bottom-tabs": "6.5.7",
"@react-navigation/native": "6.1.6",
"@react-navigation/stack": "6.3.16",
"@storybook/addon-actions": "4.1.18",
"@storybook/addon-storyshots": "4.1.18",
"@storybook/react-native": "4.1.18",
"@tsconfig/react-native": "3.0.2",
"@types/jest": "29.4.0",
"@types/lodash": "4.14.198",
"@types/node": "20.8.2",
"@types/react": "17.0.67",
"@types/react-native": "0.67.8",
"@types/react-test-renderer": "18.0.0",
"@types/url-parse": "1.4.9",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"babel-plugin-module-resolver": "4.1.0",
"babel-preset-react-native": "4.0.1",
"chokidar": "3.5.1",
"eslint": "7.20.0",
"eslint-plugin-instawork": "0.12.0",
"flow-bin": "0.122.0",
"glob": "7.1.6",
"humps": "2.0.1",
"husky": "5.1.1",
"jest": "26.6.3",
"metro-react-native-babel-preset": "0.63.0",
"mkdirp": "1.0.4",
"nunjucks": "^3.2.4",
"patch-package": "6.2.2",
"prettier": "2.2.1",
"pretty-quick": "3.1.0",
"react": "17.0.2",
"react-dom": "16.8.0",
"react-native": "0.67.4",
"react-native-gesture-handler": "2.11.0",
"react-native-keyboard-aware-scrollview": "2.1.0",
"react-native-webview": "10.10.2",
"react-test-renderer": "16.13.1",
"typescript": "5.2.2"
},
"resolutions": {
"@types/react": "17.0.67",
"@typescript-eslint/eslint-plugin": "6.7.4",
"@typescript-eslint/parser": "6.7.4"
},
"jest": {
"preset": "react-native",
"moduleNameMapper": {
"\\.(png|jpg|jpeg|ttf|mp4|mov)$": "<rootDir>/test/assets-transformer.js"
},
"modulePathIgnorePatterns": [
"./demo/"
],
"setupFiles": [
"./test/setup.ts"
],
"transformIgnorePatterns": [
"/node_modules/(?!react-native-keyboard-aware-scrollview)/"
]
}
}