forked from artsy/emission
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 3.91 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
{
"name": "emission",
"version": "1.2.1",
"description": "Artsy React(Native) components.",
"main": "index.ios.js",
"scripts": {
"bundle": "react-native bundle --config rn-cli.config.js --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 -r Pod/Assets/assets/node_modules",
"clean-example": "cd Example && xcodebuild -workspace Emission.xcworkspace -scheme Emission -destination 'platform=iOS Simulator,name=iPhone 6' clean",
"type-check": "tsc --noEmit --pretty",
"lint": "tslint 'src/**/*.{ts,tsx}'",
"lint-fix": "npm run lint -- --fix",
"ci": "npm run type-check && npm run lint && npm run test -- --runInBand",
"danger": "danger",
"start": "npm run clean-example && concurrently --kill-others 'npm run start-packager' 'npm run storybook'",
"start-packager": "node node_modules/react-native/local-cli/cli.js start --config rn-cli.config.js",
"storybook": "storybook start -p 9001",
"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",
"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"
},
"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__/.*|\\.(test|spec))\\.(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": "3.10.1",
"moment": "latest",
"react": "latest",
"react-native": "https://github.com/alloy/react-native.git#v0.42.0-with-customisable-source-exts",
"react-native-parallax-scroll-view": "https://github.com/orta/react-native-parallax-scroll-view",
"react-relay": "https://github.com/alloy/relay/releases/download/v0.9.3/react-relay-0.9.3.tgz",
"remove-markdown": "0.1.0",
"typescript": "^2.2.1"
},
"devDependencies": {
"@kadira/react-native-storybook": "^1.12.6",
"@types/jest": "^19.2.2",
"@types/lodash": "^4.14.53",
"@types/react-native": "^0.42.9",
"@types/react-relay": "^0.9.10",
"apphub": "^0.5.1",
"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.14.1",
"jest": "^19.0.2",
"jest-cli": "^18.1.0",
"jest-fetch-mock": "^1.0.7",
"jest-react-native": "^17.0.3",
"react-storybooks-relay-container": "^1.0.0",
"react-test-renderer": "^15.3.0",
"relay2ts": "^0.2.0",
"ts-jest": "^18.0.3",
"tslint": "^4.5.0"
},
"peerDependencies": {
"babel-relay-plugin": "^0.9.0"
}
}