This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathpackage.json
132 lines (132 loc) · 5.33 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
{
"name": "emission",
"version": "1.3.6",
"description": "Artsy React(Native) components.",
"main": "index.ios.js",
"scripts": {
"bundle": "react-native bundle --platform=ios --dev=false --entry-file=index.ios.js --bundle-output Pod/Assets/Emission.js --sourcemap-output Pod/Assets/Emission.js.map --assets-dest Pod/Assets && rm -rf Pod/Assets/assets/node_modules",
"bundle-with-storybooks": "react-native bundle --platform=ios --dev=true --entry-file=Example/Emission/index.ios.js --bundle-output Emission.js --assets-dest Pod/Assets",
"clean-example": "cd Example && xcodebuild -workspace Emission.xcworkspace -scheme Emission -destination 'platform=iOS Simulator,name=iPhone 6' clean",
"type-check": "tsc --noEmit --pretty",
"lint": "npm run tslint 'src/**/*.{ts,tsx}'",
"lint-fix": "npm run lint -- --fix",
"prettier": "prettier",
"prettier-write": "npm run prettier -- --parser typescript --no-semi --trailing-comma es5 --write --print-width 120 ",
"prettier-project": "npm run prettier-write -- 'src/**/*.{ts,tsx}'",
"lint-staged": "lint-staged",
"ci": "npm run type-check && npm run lint && npm run prettier-project -- -l && npm run test -- --runInBand",
"danger": "danger",
"start": "npm run clean-example && npm run start-servers",
"start-servers": "concurrently --kill-others 'npm run start-packager' 'npm run storybook'",
"start-packager": "node node_modules/react-native/local-cli/cli.js start",
"storybook": "storybook start -p 9001 -c .storybook --skip-packager",
"rndebugger": "REACT_DEBUGGER=\"open 'rndebugger://set-debugger-loc?host=localhost&port=8081' --args\" npm start",
"ios": "node node_modules/react-native/local-cli/cli.js run-ios",
"test": "jest",
"testing": "jest --watch",
"tslint": "tslint",
"sync-colors": "cd externals/elan && git fetch && git checkout origin/master && cp components/lib/variables/colors.json ../../data",
"sync-externals": "npm run-script sync-schema && npm run-script sync-colors",
"sync-schema": "cd externals/metaphysics && git fetch && git checkout origin/master && yarn install && npm run dump-schema -- ../../data && rm -rf node_modules",
"version": "yarn install && yarn bundle && pushd Example && pod install && popd && git add Pod/Assets Example/Podfile.lock",
"postversion": "git push --follow-tags && env EMISSION_ROOT=\"$(pwd)\" pod repo push artsy --allow-warnings --use-json --skip-import-validation",
"postinstall": "sed -i '' 's/#import <RCTAnimation\\/RCTValueAnimatedNode.h>/#import \"RCTValueAnimatedNode.h\"/' ./node_modules/react-native/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.h || true"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "/__tests__/.*-tests.(ts|tsx|js)$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/node_modules/"
],
"setupFiles": [
"./src/setupJest.ts"
],
"cacheDirectory": ".jest/cache"
},
"graphql": {
"file": "data/schema.json",
"tsInterfaceName": "RelayProps"
},
"repository": {
"type": "git",
"url": "git+https://github.com/artsy/emission.git"
},
"keywords": [
"artsy",
"react",
"react-native"
],
"author": "Eloy Durán",
"license": "MIT",
"bugs": {
"url": "https://github.com/artsy/emission/issues"
},
"homepage": "https://github.com/artsy/emission#readme",
"files": [
"index.js",
"data",
"lib"
],
"dependencies": {
"lodash": "^4.17.4",
"moment": "latest",
"prop-types": "^15.5.10",
"react": "16.0.0-alpha.12",
"react-native": "next",
"react-native-parallax-scroll-view": "https://github.com/orta/react-native-parallax-scroll-view",
"react-native-sentry": "^0.11.8",
"react-relay": "https://github.com/alloy/relay/releases/download/react-relay-0.9.3%2Breact-native-0.45-fix-2/react-relay-0.9.3.react-native-0.45-fix-2.tgz",
"remove-markdown": "0.1.0",
"styled-components": "^2.0.0"
},
"devDependencies": {
"@storybook/react-native": "^3.0.0",
"@types/jest": "^19.2.2",
"@types/lodash": "^4.14.64",
"@types/react-native": "^0.44.0",
"@types/react-relay": "^0.9.10",
"@types/react-test-renderer": "^15.5.0",
"apphub": "^0.5.1",
"awesome-typescript-loader": "^3.1.3",
"babel-jest": "^18.0.0",
"babel-polyfill": "^6.13.0",
"babel-preset-react-native": "^1.9.1",
"babel-relay-plugin": "https://github.com/alloy/relay/releases/download/v0.9.3/babel-relay-plugin-0.9.3.tgz",
"concurrently": "^2.2.0",
"danger": "^0.19.0",
"jest": "^20.0.4",
"jest-react-native": "18.0.0",
"jest-snapshots-svg": "^0.0.11",
"lint-staged": "^3.4.1",
"prettier": "^1.4.2",
"react-dom": "16.0.0-alpha.12",
"react-storybooks-relay-container": "^1.0.0",
"react-test-renderer": "16.0.0-alpha.12",
"recursive-readdir-sync": "^1.0.6",
"relay2ts": "^0.2.0",
"ts-jest": "^20.0.3",
"tslint": "^5.4.3",
"tslint-config-prettier": "^1.0.0",
"typescript": "^2.3.2"
},
"peerDependencies": {
"babel-relay-plugin": "^0.9.0"
},
"lint-staged": {
"*.@(ts|tsx)": [
"tslint --fix",
"npm run prettier-write --",
"git add"
]
}
}