1 | {
|
2 | "name": "@draftbit/ui",
|
3 | "version": "36.7.1",
|
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.1.0",
|
54 | "color": "^3.1.2",
|
55 | "dateformat": "^3.0.3",
|
56 | "expo-av": "~8.1.0",
|
57 | "expo-blur": "~8.1.0",
|
58 | "expo-constants": "~9.0.0",
|
59 | "react-native-maps": "0.27.1",
|
60 | "react-native-platform-touchable": "^1.1.1",
|
61 | "react-native-progress": "^4.1.2",
|
62 | "react-native-slider": "^0.11.0",
|
63 | "react-native-step-indicator": "^0.0.11",
|
64 | "react-native-webview": "9.4.0"
|
65 | },
|
66 | "prettier": {
|
67 | "bracketSpacing": true,
|
68 | "singleQuote": false,
|
69 | "semi": false,
|
70 | "useTabs": false,
|
71 | "printWidth": 100,
|
72 | "arrowParens": "avoid",
|
73 | "trailingComma": "none",
|
74 | "jsxBracketSameLine": true
|
75 | },
|
76 | "husky": {
|
77 | "hooks": {
|
78 | "pre-commit": "lint-staged"
|
79 | }
|
80 | },
|
81 | "lint-staged": {
|
82 | "*.{js,json,css,md}": [
|
83 | "prettier --write",
|
84 | "git add"
|
85 | ]
|
86 | }
|
87 | }
|