@callstack/react-theme-provider
Version:
Theme provider for react and react-naitve applications
81 lines (80 loc) • 2.53 kB
JSON
{
"name": "@callstack/react-theme-provider",
"version": "1.0.2",
"description": "Theme provider for react and react-naitve applications",
"main": "./lib/index.js",
"module": "./dist/themeProvider.es.js",
"files": [
"*.md",
"dist",
"lib"
],
"scripts": {
"flow": "flow",
"lint": "eslint src",
"prettier": "prettier --single-quote --trailing-comma es5 --write './src/**/*.js",
"build:standalone": "cross-env NODE_ENV=production BABEL_TARGET=rollup rollup -c",
"build:babel": "flow-copy-source src lib --ignore **/*.test.js && babel src/ --out-dir lib/ --ignore src/__tests__",
"build:standalonedev": "cross-env NODE_ENV=development BABEL_TARGET=rollup rollup -c",
"build": "rm -rf dist && rm -rf lib && npm run build:standalone && npm run build:babel",
"prepublish": "npm run build",
"test": "jest",
"example": "yarn link && cd examples/web && yarn link @callstack/react-theme-provider && yarn start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/callstack/react-theme-provider.git"
},
"keywords": [
"react",
"react-native",
"theme",
"provider"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/callstack/react-theme-provider/issues"
},
"homepage": "https://github.com/callstack/react-theme-provider#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"cross-env": "^5.1.3",
"eslint": "^4.16.0",
"eslint-config-callstack-io": "^1.1.1",
"flow-bin": "^0.65.0",
"jest": "^22.4.0",
"prettier": "^1.7.4",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"rollup": "^0.57.1 ",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-commonjs": "^8.3.0",
"rollup-plugin-node-resolve": "^3.0.2",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-uglify": "^3.0.0"
},
"peerDependencies": {
"react": "^15.3.0 || ^16.0.0"
},
"dependencies": {
"create-react-context": "^0.2.1",
"flow-copy-source": "^1.3.0",
"hoist-non-react-statics": "^2.5.0",
"lodash.isequal": "^4.5.0",
"lodash.merge": "^4.6.1",
"prop-types": "^15.6.0"
},
"jest": {
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
}
}
}