UNPKG

2.5 kBJSONView Raw
1{
2 "name": "@callstack/react-theme-provider",
3 "version": "1.0.3",
4 "description": "Theme provider for react and react-naitve applications",
5 "main": "./lib/index.js",
6 "module": "./dist/themeProvider.es.js",
7 "files": [
8 "*.md",
9 "dist",
10 "lib"
11 ],
12 "scripts": {
13 "flow": "flow",
14 "lint": "eslint src",
15 "prettier": "prettier --single-quote --trailing-comma es5 --write './src/**/*.js",
16 "build:standalone": "cross-env NODE_ENV=production BABEL_TARGET=rollup rollup -c",
17 "build:babel": "flow-copy-source src lib --ignore **/*.test.js && babel src/ --out-dir lib/ --ignore src/__tests__",
18 "build:standalonedev": "cross-env NODE_ENV=development BABEL_TARGET=rollup rollup -c",
19 "build": "rm -rf dist && rm -rf lib && npm run build:standalone && npm run build:babel",
20 "prepublish": "npm run build",
21 "test": "jest",
22 "example": "yarn link && cd examples/web && yarn link @callstack/react-theme-provider && yarn start"
23 },
24 "repository": {
25 "type": "git",
26 "url": "git+https://github.com/callstack/react-theme-provider.git"
27 },
28 "keywords": [
29 "react",
30 "react-native",
31 "theme",
32 "provider"
33 ],
34 "author": "",
35 "license": "MIT",
36 "bugs": {
37 "url": "https://github.com/callstack/react-theme-provider/issues"
38 },
39 "homepage": "https://github.com/callstack/react-theme-provider#readme",
40 "devDependencies": {
41 "babel-cli": "^6.26.0",
42 "babel-core": "^6.26.0",
43 "babel-plugin-external-helpers": "^6.22.0",
44 "babel-preset-env": "^1.6.1",
45 "babel-preset-flow": "^6.23.0",
46 "babel-preset-react": "^6.24.1",
47 "babel-preset-stage-2": "^6.24.1",
48 "cross-env": "^5.1.3",
49 "eslint": "^4.16.0",
50 "eslint-config-callstack-io": "^1.1.1",
51 "flow-bin": "^0.65.0",
52 "jest": "^22.4.0",
53 "prettier": "^1.7.4",
54 "react": "^16.4.1",
55 "react-dom": "^16.4.1",
56 "rollup": "^0.57.1 ",
57 "rollup-plugin-babel": "^3.0.3",
58 "rollup-plugin-commonjs": "^8.3.0",
59 "rollup-plugin-node-resolve": "^3.0.2",
60 "rollup-plugin-replace": "^2.0.0",
61 "rollup-plugin-sourcemaps": "^0.4.2",
62 "rollup-plugin-uglify": "^3.0.0"
63 },
64 "peerDependencies": {
65 "react": "^15.3.0 || ^16.0.0"
66 },
67 "dependencies": {
68 "create-react-context": "^0.2.1",
69 "deepmerge": "^2.1.1",
70 "flow-copy-source": "^1.3.0",
71 "hoist-non-react-statics": "^2.5.0",
72 "prop-types": "^15.6.0"
73 },
74 "jest": {
75 "moduleNameMapper": {
76 "\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
77 }
78 }
79}