155 lines
4.1 KiB
JSON
155 lines
4.1 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"draft-js@0.10.5",
|
|
"/home/zhiyuanliu/gitlink/forgeplus-react"
|
|
]
|
|
],
|
|
"_from": "draft-js@0.10.5",
|
|
"_id": "draft-js@0.10.5",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-LE6jSCV9nkPhfVX2ggcRLA4FKs6zWq9ceuO/88BpXdNCS7mjRTgs0NsV6piUCJX9YxMsB9An33wnkMmU2sD2Zg==",
|
|
"_location": "/draft-js",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "version",
|
|
"registry": true,
|
|
"raw": "draft-js@0.10.5",
|
|
"name": "draft-js",
|
|
"escapedName": "draft-js",
|
|
"rawSpec": "0.10.5",
|
|
"saveSpec": null,
|
|
"fetchSpec": "0.10.5"
|
|
},
|
|
"_requiredBy": [
|
|
"/rc-editor-core",
|
|
"/rc-editor-mention"
|
|
],
|
|
"_resolved": "http://173.15.15.82:8081/repository/npm-all/draft-js/-/draft-js-0.10.5.tgz",
|
|
"_spec": "0.10.5",
|
|
"_where": "/home/zhiyuanliu/gitlink/forgeplus-react",
|
|
"bugs": {
|
|
"url": "https://github.com/facebook/draft-js/issues"
|
|
},
|
|
"dependencies": {
|
|
"fbjs": "^0.8.15",
|
|
"immutable": "~3.7.4",
|
|
"object-assign": "^4.1.0"
|
|
},
|
|
"description": "A React framework for building text editors.",
|
|
"devDependencies": {
|
|
"babel-core": "^6.8.0",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-preset-fbjs": "^2.1.0",
|
|
"del": "^2.2.0",
|
|
"envify": "^3.4.0",
|
|
"es6-shim": "^0.34.4",
|
|
"eslint": "^4.2.0",
|
|
"eslint-config-fbjs": "^2.0.0",
|
|
"eslint-config-prettier": "^2.6.0",
|
|
"eslint-plugin-babel": "^4.1.1",
|
|
"eslint-plugin-flowtype": "^2.17.1",
|
|
"eslint-plugin-jsx-a11y": "^6.0.2",
|
|
"eslint-plugin-prettier": "^2.3.1",
|
|
"eslint-plugin-react": "^7.3.0",
|
|
"eslint-plugin-relay": "^0.0.8",
|
|
"fbjs-scripts": "^0.8.0",
|
|
"flow-bin": "^0.59.0",
|
|
"gulp": "^3.9.0",
|
|
"gulp-babel": "^6.1.2",
|
|
"gulp-browserify-thin": "^0.1.5",
|
|
"gulp-clean-css": "^2.0.3",
|
|
"gulp-concat-css": "^2.2.0",
|
|
"gulp-derequire": "^2.1.0",
|
|
"gulp-flatten": "^0.2.0",
|
|
"gulp-header": "1.8.2",
|
|
"gulp-rename": "^1.2.2",
|
|
"gulp-uglify": "^1.2.0",
|
|
"gulp-util": "^3.0.6",
|
|
"jest": "^21.2.1",
|
|
"prettier": "1.9.1",
|
|
"react": "^16.0.0",
|
|
"react-dom": "^16.0.0",
|
|
"react-test-renderer": "^16.0.0",
|
|
"run-sequence": "^1.1.2",
|
|
"through2": "^2.0.1",
|
|
"vinyl-buffer": "^1.0.0",
|
|
"webpack-stream": "^3.0.0"
|
|
},
|
|
"devEngines": {
|
|
"node": "6.x || 8.x",
|
|
"npm": "2.x || 3.x || 5.x"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"lib/",
|
|
"LICENSE",
|
|
"PATENTS"
|
|
],
|
|
"homepage": "http://draftjs.org/",
|
|
"jest": {
|
|
"automock": true,
|
|
"globals": {
|
|
"__DEV__": true
|
|
},
|
|
"rootDir": "./",
|
|
"roots": [
|
|
"<rootDir>/src/"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/scripts/jest/shims.js"
|
|
],
|
|
"transform": {
|
|
".*": "<rootDir>/scripts/jest/preprocessor.js"
|
|
},
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/lib/",
|
|
"<rootDir>/node_modules/"
|
|
],
|
|
"transformIgnorePatterns": [
|
|
"<rootDir>/node_modules/"
|
|
],
|
|
"unmockedModulePathPatterns": [
|
|
"<rootDir>/node_modules/fbjs/node_modules/",
|
|
"<rootDir>/node_modules/fbjs/lib/UserAgent.js",
|
|
"<rootDir>/node_modules/fbjs/lib/UserAgentData.js",
|
|
"<rootDir>/node_modules/fbjs-scripts/",
|
|
"<rootDir>/node_modules/immutable/",
|
|
"<rootDir>/node_modules/object-assign/",
|
|
"<rootDir>/node_modules/react/",
|
|
"<rootDir>/node_modules/react-dom/"
|
|
]
|
|
},
|
|
"keywords": [
|
|
"draftjs",
|
|
"editor",
|
|
"react",
|
|
"richtext"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"main": "lib/Draft.js",
|
|
"name": "draft-js",
|
|
"peerDependencies": {
|
|
"react": "^0.14.0 || ^15.0.0-rc || ^16.0.0-rc || ^16.0.0",
|
|
"react-dom": "^0.14.0 || ^15.0.0-rc || ^16.0.0-rc || ^16.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/draft-js.git"
|
|
},
|
|
"scripts": {
|
|
"build": "gulp",
|
|
"dev": "gulp dev",
|
|
"flow": "flow src",
|
|
"format": "eslint . --fix",
|
|
"lint": "eslint .",
|
|
"postbuild": "node node_modules/fbjs-scripts/node/check-lib-requires.js lib",
|
|
"prepublish": "npm run build",
|
|
"pretest": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json",
|
|
"test": "NODE_ENV=test jest",
|
|
"test-ci": "NODE_ENV=test npm run lint && npm run flow && npm run test"
|
|
},
|
|
"style": "dist/Draft.css",
|
|
"version": "0.10.5"
|
|
}
|