1 | {
|
2 | "name": "@callstack/react-theme-provider",
|
3 | "version": "2.0.0",
|
4 | "description": "Theme provider for react and react-naitve applications",
|
5 | "main": "./lib/index.js",
|
6 | "typings": "./typings/index.d.ts",
|
7 | "files": [
|
8 | "lib",
|
9 | "typings"
|
10 | ],
|
11 | "scripts": {
|
12 | "flow": "flow",
|
13 | "typescript": "tsc",
|
14 | "lint": "eslint .",
|
15 | "prepare": "babel src --out-dir lib --ignore '**/__tests__/**' --source-maps --delete-dir-on-start && flow-copy-source -i '**/__tests__/**' src lib",
|
16 | "test": "jest",
|
17 | "example": "yarn link && cd examples/web && yarn link @callstack/react-theme-provider && yarn start"
|
18 | },
|
19 | "repository": {
|
20 | "type": "git",
|
21 | "url": "git+https://github.com/callstack/react-theme-provider.git"
|
22 | },
|
23 | "keywords": [
|
24 | "react",
|
25 | "react-native",
|
26 | "theme",
|
27 | "provider"
|
28 | ],
|
29 | "author": "",
|
30 | "license": "MIT",
|
31 | "bugs": {
|
32 | "url": "https://github.com/callstack/react-theme-provider/issues"
|
33 | },
|
34 | "homepage": "https://github.com/callstack/react-theme-provider#readme",
|
35 | "devDependencies": {
|
36 | "@babel/cli": "^7.2.3",
|
37 | "@babel/core": "^7.3.4",
|
38 | "@babel/plugin-proposal-class-properties": "^7.3.4",
|
39 | "@babel/preset-env": "^7.3.4",
|
40 | "@babel/preset-flow": "^7.0.0",
|
41 | "@babel/preset-react": "^7.0.0",
|
42 | "@callstack/eslint-config": "^3.0.2",
|
43 | "@types/react": "^16.8.8",
|
44 | "eslint": "^5.15.1",
|
45 | "flow-bin": "^0.94.0",
|
46 | "flow-copy-source": "^2.0.3",
|
47 | "jest": "^24.5.0",
|
48 | "prettier": "^1.16.4",
|
49 | "react": "^16.8.4",
|
50 | "react-dom": "^16.8.4",
|
51 | "typescript": "^3.3.3333"
|
52 | },
|
53 | "peerDependencies": {
|
54 | "react": "^16.3.0"
|
55 | },
|
56 | "dependencies": {
|
57 | "deepmerge": "^3.2.0",
|
58 | "hoist-non-react-statics": "^3.3.0"
|
59 | },
|
60 | "jest": {
|
61 | "moduleNameMapper": {
|
62 | "\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
|
63 | },
|
64 | "testPathIgnorePatterns": [
|
65 | "/node_modules/",
|
66 | "/typings/"
|
67 | ]
|
68 | }
|
69 | }
|