UNPKG

2.03 kBJSONView Raw
1{
2 "name": "fbjs",
3 "version": "3.0.5",
4 "description": "A collection of utility libraries used by other Facebook JS projects",
5 "main": "index.js",
6 "repository": "facebook/fbjs",
7 "scripts": {
8 "build": "gulp build",
9 "postbuild": "node node_modules/fbjs-scripts/node/check-lib-requires.js lib",
10 "lint": "eslint .",
11 "prepare": "yarn run build",
12 "pretest": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json",
13 "test": "NODE_ENV=test jest",
14 "test-babel-presets": "cd babel-preset && yarn install && yarn test",
15 "flow": "flow check src"
16 },
17 "devDependencies": {
18 "@babel/core": "^7.1.5",
19 "babel-preset-fbjs": "file:../babel-preset-fbjs",
20 "del": "^2.2.0",
21 "fbjs-scripts": "file:../fbjs-scripts",
22 "flow-bin": "^0.99.0",
23 "gulp": "^4.0.2",
24 "gulp-babel": "^8.0.0",
25 "gulp-flatten": "^0.4.0",
26 "gulp-rename": "^2.0.0",
27 "immutable": "^3.7.6",
28 "jest-cli": "^23.6.0",
29 "merge-stream": "^1.0.0"
30 },
31 "license": "MIT",
32 "files": [
33 "LICENSE",
34 "README.md",
35 "flow/",
36 "index.js",
37 "lib/",
38 "module-map.json"
39 ],
40 "jest": {
41 "automock": true,
42 "modulePathIgnorePatterns": [
43 "/lib/",
44 "/node_modules/"
45 ],
46 "rootDir": "",
47 "setupFiles": [
48 "fbjs-scripts/jest/environment.js"
49 ],
50 "roots": [
51 "<rootDir>/src"
52 ],
53 "timers": "fake",
54 "transform": {
55 ".*": "fbjs-scripts/jest/preprocessor.js"
56 },
57 "transformIgnorePatterns": [
58 "/node_modules/"
59 ],
60 "unmockedModulePathPatterns": [
61 "<rootDir>/node_modules/",
62 "<rootDir>/src/(?!(__forks__/fetch.js$|fetch/))"
63 ]
64 },
65 "dependencies": {
66 "cross-fetch": "^3.1.5",
67 "fbjs-css-vars": "^1.0.0",
68 "loose-envify": "^1.0.0",
69 "object-assign": "^4.1.0",
70 "promise": "^7.1.1",
71 "setimmediate": "^1.0.5",
72 "ua-parser-js": "^1.0.35"
73 },
74 "devEngines": {
75 "node": ">=4.x",
76 "npm": ">=2.x"
77 },
78 "browserify": {
79 "transform": [
80 "loose-envify"
81 ]
82 }
83}