Files
react-navigation/packages/core/package.json
2019-02-04 17:52:19 -08:00

116 lines
3.3 KiB
JSON

{
"name": "@react-navigation/core",
"version": "3.0.2",
"description": "Core utilities for the react-navigation framework",
"main": "dist/index.js",
"react-native": "dist/index.js",
"files": [
"dist/",
"src/",
"LICENSE.md",
"README.md"
],
"scripts": {
"pretest": "yarn lint && yarn build",
"test": "jest",
"lint": "eslint .",
"format": "eslint . --fix",
"babel": "babel --no-babelrc --plugins=transform-es2015-block-scoping,transform-es2015-modules-commonjs,transform-react-jsx,transform-class-properties,transform-object-rest-spread,transform-flow-strip-types src --copy-files --out-dir dist --ignore '**/__tests__/**','*.ts'",
"tsc": "tsc",
"build": "yarn babel --out-dir dist && yarn tsc",
"dev": "yarn babel --watch src --out-dir example/node_modules/@react-navigation/core/dist",
"prepare": "yarn build",
"release": "release-it"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"react-navigation",
"routing",
"ios",
"android"
],
"repository": {
"type": "git",
"url": "git+https://github.com/react-navigation/react-navigation-core.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/react-navigation/react-navigation-core/issues"
},
"homepage": "https://github.com/react-navigation/react-navigation-core#readme",
"dependencies": {
"create-react-context": "0.2.2",
"hoist-non-react-statics": "^3.0.1",
"path-to-regexp": "^1.7.0",
"query-string": "^6.2.0",
"react-is": "^16.5.2",
"react-lifecycles-compat": "^3.0.4"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-jest": "^22.4.1",
"babel-plugin-transform-class-properties": "^6.13.0",
"babel-plugin-transform-es2015-block-scoping": "^6.26.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.13.0",
"babel-plugin-transform-react-jsx": "^6.18.0",
"babel-preset-react-native": "^4.0.0",
"conventional-changelog-cli": "^2.0.5",
"eslint": "^4.12.1",
"eslint-config-satya164": "^1.0.1",
"eslint-plugin-react-native-globals": "^0.1.0",
"husky": "^1.1.2",
"jest": "^22.1.3",
"jest-expo": "^30.0.0",
"prettier": "^1.8.2",
"react": "16.3.1",
"react-dom": "16.3.1",
"react-native": "^0.55.4",
"react-test-renderer": "16.3.1",
"release-it": "^7.6.1",
"ts-jest": "^23.10.4",
"typescript": "^3.1.3"
},
"peerDependencies": {
"react": "*"
},
"jest": {
"preset": "react-native",
"testRegex": "/__tests__/[^/]+-test\\.(js|tsx)?$",
"setupFiles": [
"<rootDir>/jest-setup.js"
],
"coveragePathIgnorePatterns": [
"jest-setup.js"
],
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element)"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": ["ts","js"],
"modulePathIgnorePatterns": [
"<rootDir>/example/"
],
"globals": {
"ts-jest": {
"tsConfig": "./tsconfig.test.json",
"diagnostics": {
"ignoreCodes": [
151001
]
}
}
}
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true
}
}