1 | {
|
2 | "name": "@draftbit/ui",
|
3 | "version": "36.6.6",
|
4 | "description": "Jigsaw component library for Draftbit",
|
5 | "main": "src/index.js",
|
6 | "repository": "git@github.com:draftbit/jigsaw-component-library.git",
|
7 | "author": "Draftbit",
|
8 | "license": "ISC",
|
9 | "private": false,
|
10 | "scripts": {
|
11 | "babel:build": "babel src -d --out-dir dist --ignore \"**/__tests__\" --copy-files",
|
12 | "clean": "del-cli ./dist",
|
13 | "lint": "eslint src",
|
14 | "test": "jest",
|
15 | "seed:db": "node scripts/collector.js",
|
16 | "pretty": "prettier --config ./package.json --write '{example,src}/**/*.{js,css,json}'",
|
17 | "build:web": "yarn clean && yarn babel:build",
|
18 | "sync:glyphmaps": "aws s3 sync glyphmaps s3://static.draftbit.com/fonts/glyphmaps --profile DraftbitS3SharedStatic --exclude \"*\" --include \"*.json\" --acl public-read"
|
19 | },
|
20 | "jest": {
|
21 | "preset": "react-native"
|
22 | },
|
23 | "peerDependencies": {
|
24 | "expo": "*",
|
25 | "react": "*",
|
26 | "react-native": "*"
|
27 | },
|
28 | "devDependencies": {
|
29 | "@babel/cli": "^7.4.4",
|
30 | "@babel/core": "^7.4.5",
|
31 | "@babel/plugin-proposal-class-properties": "^7.4.4",
|
32 | "@babel/plugin-proposal-object-rest-spread": "^7.4.4",
|
33 | "@babel/preset-env": "^7.4.5",
|
34 | "@babel/preset-react": "^7.0.0",
|
35 | "babel-eslint": "^10.0.1",
|
36 | "babel-loader": "^8.0.6",
|
37 | "babel-plugin-add-module-exports": "^1.0.2",
|
38 | "babel-plugin-module-resolver": "^3.2.0",
|
39 | "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
40 | "babel-preset-minify": "^0.5.0",
|
41 | "babel-preset-react-native": "^4.0.1",
|
42 | "del-cli": "^2.0.0",
|
43 | "glob": "^7.1.4",
|
44 | "husky": "^3.0.9",
|
45 | "jest": "^24.8.0",
|
46 | "lint-staged": "^9.4.2",
|
47 | "node-fetch": "^2.6.0",
|
48 | "prettier": "1.18.2",
|
49 | "react-test-renderer": "^16.8.6"
|
50 | },
|
51 | "dependencies": {
|
52 | "@callstack/react-theme-provider": "^3.0.5",
|
53 | "@expo/vector-icons": "~10.0.0",
|
54 | "color": "^3.1.2",
|
55 | "create-react-context": "^0.3.0",
|
56 | "dateformat": "^3.0.3",
|
57 | "expo-av": "~8.0.0",
|
58 | "expo-blur": "~8.0.0",
|
59 | "expo-constants": "~8.0.0",
|
60 | "react-lifecycles-compat": "^3.0.4",
|
61 | "react-native-gesture-handler": "1.5.0",
|
62 | "react-native-maps": "0.26.1",
|
63 | "react-native-platform-touchable": "^1.1.1",
|
64 | "react-native-progress": "^3.6.0",
|
65 | "react-native-reanimated": "~1.4.0",
|
66 | "react-native-slider": "^0.11.0",
|
67 | "react-native-step-indicator": "^0.0.11",
|
68 | "react-native-webview": "7.4.3"
|
69 | },
|
70 | "prettier": {
|
71 | "bracketSpacing": true,
|
72 | "singleQuote": false,
|
73 | "semi": false,
|
74 | "useTabs": false,
|
75 | "printWidth": 100,
|
76 | "arrowParens": "avoid",
|
77 | "trailingComma": "none",
|
78 | "jsxBracketSameLine": true
|
79 | },
|
80 | "husky": {
|
81 | "hooks": {
|
82 | "pre-commit": "lint-staged"
|
83 | }
|
84 | },
|
85 | "lint-staged": {
|
86 | "*.{js,json,css,md}": [
|
87 | "prettier --write",
|
88 | "git add"
|
89 | ]
|
90 | }
|
91 | }
|