82 lines
2.0 KiB
JSON
82 lines
2.0 KiB
JSON
{
|
|
"name": "fbjs",
|
|
"version": "0.8.14",
|
|
"description": "A collection of utility libraries used by other Facebook JS projects",
|
|
"main": "index.js",
|
|
"repository": "facebook/fbjs",
|
|
"scripts": {
|
|
"build": "gulp build",
|
|
"postbuild": "node scripts/node/check-lib-requires.js lib",
|
|
"lint": "eslint .",
|
|
"prepublish": "npm run build",
|
|
"pretest": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json",
|
|
"test": "NODE_ENV=test jest",
|
|
"test-babel-presets": "cd babel-preset && npm install && npm test",
|
|
"typecheck": "flow check src"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^6.0.3",
|
|
"babel-preset-fbjs": "file:babel-preset",
|
|
"del": "^2.2.0",
|
|
"eslint": "^2.8.0",
|
|
"fbjs-scripts": "file:scripts",
|
|
"flow-bin": "^0.38.0",
|
|
"gulp": "^3.9.1",
|
|
"gulp-babel": "^6.1.2",
|
|
"gulp-flatten": "^0.2.0",
|
|
"gulp-rename": "^1.2.2",
|
|
"immutable": "^3.7.6",
|
|
"jest-cli": "^0.9.2",
|
|
"merge-stream": "^1.0.0",
|
|
"run-sequence": "^1.1.5"
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"files": [
|
|
"LICENSE",
|
|
"PATENTS",
|
|
"README.md",
|
|
"flow/",
|
|
"index.js",
|
|
"lib/",
|
|
"module-map.json"
|
|
],
|
|
"jest": {
|
|
"modulePathIgnorePatterns": [
|
|
"/lib/",
|
|
"/node_modules/"
|
|
],
|
|
"persistModuleRegistryBetweenSpecs": true,
|
|
"preprocessorIgnorePatterns": [
|
|
"/node_modules/"
|
|
],
|
|
"rootDir": "",
|
|
"scriptPreprocessor": "node_modules/fbjs-scripts/jest/preprocessor.js",
|
|
"setupEnvScriptFile": "node_modules/fbjs-scripts/jest/environment.js",
|
|
"testPathDirs": [
|
|
"<rootDir>/src"
|
|
],
|
|
"unmockedModulePathPatterns": [
|
|
"<rootDir>/node_modules/",
|
|
"<rootDir>/src/(?!(__forks__/fetch.js$|fetch/))"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"core-js": "^1.0.0",
|
|
"isomorphic-fetch": "^2.1.1",
|
|
"loose-envify": "^1.0.0",
|
|
"object-assign": "^4.1.0",
|
|
"promise": "^7.1.1",
|
|
"setimmediate": "^1.0.5",
|
|
"ua-parser-js": "^0.7.9"
|
|
},
|
|
"devEngines": {
|
|
"node": ">=4.x",
|
|
"npm": ">=2.x"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"loose-envify"
|
|
]
|
|
}
|
|
}
|