|
1 | 1 | {
|
2 |
| - "name": "draftail", |
3 |
| - "version": "0.8.0", |
4 |
| - "description": "📝🍸 A configurable rich text editor based on Draft.js", |
5 |
| - "author": "Springload", |
6 |
| - "license": "MIT", |
7 |
| - "main": "dist/index.js", |
8 |
| - "module": "es/index.js", |
9 |
| - "keywords": [ |
10 |
| - "draftjs", |
11 |
| - "draft.js", |
12 |
| - "draft", |
13 |
| - "draft-js", |
14 |
| - "editor", |
15 |
| - "wysiwyg", |
16 |
| - "rich text", |
17 |
| - "rte", |
18 |
| - "react", |
19 |
| - "react-component", |
20 |
| - "react-components" |
| 2 | + "name": "draftail", |
| 3 | + "version": "0.9.0-beta.1", |
| 4 | + "description": "📝🍸 A configurable rich text editor based on Draft.js", |
| 5 | + "author": "Springload", |
| 6 | + "license": "MIT", |
| 7 | + "main": "dist/index.js", |
| 8 | + "module": "es/index.js", |
| 9 | + "keywords": [ |
| 10 | + "draftjs", |
| 11 | + "draft.js", |
| 12 | + "draft", |
| 13 | + "draft-js", |
| 14 | + "editor", |
| 15 | + "wysiwyg", |
| 16 | + "rich text", |
| 17 | + "rte", |
| 18 | + "react", |
| 19 | + "react-component", |
| 20 | + "react-components" |
| 21 | + ], |
| 22 | + "repository": { |
| 23 | + "type": "git", |
| 24 | + "url": "https://github.com/springload/draftail" |
| 25 | + }, |
| 26 | + "bugs": { |
| 27 | + "url": "https://github.com/springload/draftail/issues" |
| 28 | + }, |
| 29 | + "homepage": "https://springload.github.io/draftail/", |
| 30 | + "babel": { |
| 31 | + "presets": [ |
| 32 | + [ |
| 33 | + "env", |
| 34 | + { |
| 35 | + "targets": { |
| 36 | + "browsers": [ |
| 37 | + "> 1%", |
| 38 | + "IE 11" |
| 39 | + ] |
| 40 | + }, |
| 41 | + "modules": false |
| 42 | + } |
| 43 | + ], |
| 44 | + "react" |
21 | 45 | ],
|
22 |
| - "repository": { |
23 |
| - "type": "git", |
24 |
| - "url": "https://github.com/springload/draftail" |
25 |
| - }, |
26 |
| - "bugs": { |
27 |
| - "url": "https://github.com/springload/draftail/issues" |
28 |
| - }, |
29 |
| - "homepage": "https://springload.github.io/draftail/", |
30 |
| - "babel": { |
| 46 | + "env": { |
| 47 | + "test": { |
31 | 48 | "presets": [
|
32 |
| - [ |
33 |
| - "env", |
34 |
| - { |
35 |
| - "targets": { |
36 |
| - "browsers": [ |
37 |
| - "> 1%", |
38 |
| - "IE 11" |
39 |
| - ] |
40 |
| - }, |
41 |
| - "modules": false |
42 |
| - } |
43 |
| - ], |
44 |
| - "react" |
45 |
| - ], |
46 |
| - "env": { |
47 |
| - "test": { |
48 |
| - "presets": [ |
49 |
| - [ |
50 |
| - "env", |
51 |
| - { |
52 |
| - "targets": { |
53 |
| - "browsers": [ |
54 |
| - "> 1%", |
55 |
| - "IE 11" |
56 |
| - ] |
57 |
| - } |
58 |
| - } |
59 |
| - ], |
60 |
| - "react" |
| 49 | + [ |
| 50 | + "env", |
| 51 | + { |
| 52 | + "targets": { |
| 53 | + "browsers": [ |
| 54 | + "> 1%", |
| 55 | + "IE 11" |
61 | 56 | ]
|
| 57 | + } |
62 | 58 | }
|
63 |
| - } |
64 |
| - }, |
65 |
| - "eslintConfig": { |
66 |
| - "extends": "plugin:springload/prettier" |
67 |
| - }, |
68 |
| - "jest": { |
69 |
| - "moduleNameMapper": { |
70 |
| - "\\.scss$": "<rootDir>/lib/tests/styleMock.js" |
71 |
| - }, |
72 |
| - "testPathIgnorePatterns": [ |
73 |
| - "/node_modules/", |
74 |
| - "/dist/", |
75 |
| - "/examples/", |
76 |
| - "/es/" |
77 |
| - ], |
78 |
| - "snapshotSerializers": [ |
79 |
| - "enzyme-to-json/serializer" |
| 59 | + ], |
| 60 | + "react" |
80 | 61 | ]
|
81 |
| - }, |
82 |
| - "dependencies": { |
83 |
| - "draftjs-utils": "0.8.4" |
84 |
| - }, |
85 |
| - "devDependencies": { |
86 |
| - "autoprefixer": "^7.1.2", |
87 |
| - "babel-cli": "^6.24.1", |
88 |
| - "babel-jest": "^20.0.0", |
89 |
| - "babel-loader": "^7.1.1", |
90 |
| - "babel-preset-env": "^1.6.0", |
91 |
| - "babel-preset-react": "^6.24.1", |
92 |
| - "css-loader": "^0.28.4", |
93 |
| - "dotenv": "^4.0.0", |
94 |
| - "draft-js": "^0.10.1", |
95 |
| - "element-closest": "^2.0.2", |
96 |
| - "enzyme": "^2.8.2", |
97 |
| - "enzyme-to-json": "^1.5.1", |
98 |
| - "eslint": "^3.19.0", |
99 |
| - "eslint-plugin-springload": "^2.2.0", |
100 |
| - "extract-text-webpack-plugin": "^3.0.0", |
101 |
| - "immutable": "~3.7.4", |
102 |
| - "jest": "^20.0.0", |
103 |
| - "node-sass": "^4.5.3", |
104 |
| - "postcss-loader": "^2.0.6", |
105 |
| - "prettier": "^1.7.4", |
106 |
| - "prop-types": "^15.5.10", |
107 |
| - "react": "^15.6.1", |
108 |
| - "react-dom": "^15.6.1", |
109 |
| - "react-test-renderer": "^15.6.1", |
110 |
| - "sass-loader": "^6.0.6", |
111 |
| - "webpack": "^3.4.1", |
112 |
| - "webpack-bundle-analyzer": "^2.9.0", |
113 |
| - "webpack-dev-server": "^2.6.1" |
114 |
| - }, |
115 |
| - "peerDependencies": { |
116 |
| - "draft-js": "^0.10.1", |
117 |
| - "prop-types": "^15.5.0", |
118 |
| - "react": "^15.5.0", |
119 |
| - "react-dom": "^15.5.0", |
120 |
| - "immutable": "~3.7.4" |
121 |
| - }, |
122 |
| - "scripts": { |
123 |
| - "start": "webpack-dev-server --config=webpack/webpack.config.dev.js", |
124 |
| - "js": "babel lib -d es && BABEL_ENV=test babel lib -d dist", |
125 |
| - "build": "npm run js -s && webpack --config=webpack/webpack.config.prod.js --display-optimization-bailout && cp examples/assets/draftail.css dist", |
126 |
| - "dist": "NODE_ENV=production npm run build -s", |
127 |
| - "linter:js": "eslint", |
128 |
| - "formatter:js": "prettier --write", |
129 |
| - "lint": "npm run linter:js -s -- .", |
130 |
| - "format": "npm run formatter:js -- lib/**/*.js examples/sources/*.js examples/entities/*.js examples/utils/*.js examples/*.js webpack/*.js", |
131 |
| - "test": "jest", |
132 |
| - "test:coverage": "jest --coverage", |
133 |
| - "test:watch": "jest --watch", |
134 |
| - "test:watch:coverage": "jest --watch --coverage", |
135 |
| - "report:coverage": "open coverage/lcov-report/index.html", |
136 |
| - "report:build": "open webpack/webpack-stats.html", |
137 |
| - "test:ci": "npm run lint -s && npm run test:coverage -s && npm run dist -s" |
| 62 | + } |
138 | 63 | }
|
| 64 | + }, |
| 65 | + "eslintConfig": { |
| 66 | + "extends": "plugin:springload/prettier" |
| 67 | + }, |
| 68 | + "jest": { |
| 69 | + "moduleNameMapper": { |
| 70 | + "\\.scss$": "<rootDir>/lib/tests/styleMock.js" |
| 71 | + }, |
| 72 | + "testPathIgnorePatterns": [ |
| 73 | + "/node_modules/", |
| 74 | + "/dist/", |
| 75 | + "/examples/", |
| 76 | + "/es/" |
| 77 | + ], |
| 78 | + "snapshotSerializers": [ |
| 79 | + "enzyme-to-json/serializer" |
| 80 | + ] |
| 81 | + }, |
| 82 | + "dependencies": { |
| 83 | + "draftjs-utils": "0.8.4" |
| 84 | + }, |
| 85 | + "devDependencies": { |
| 86 | + "autoprefixer": "^7.1.2", |
| 87 | + "babel-cli": "^6.24.1", |
| 88 | + "babel-jest": "^20.0.0", |
| 89 | + "babel-loader": "^7.1.1", |
| 90 | + "babel-preset-env": "^1.6.0", |
| 91 | + "babel-preset-react": "^6.24.1", |
| 92 | + "css-loader": "^0.28.4", |
| 93 | + "dotenv": "^4.0.0", |
| 94 | + "draft-js": "^0.10.1", |
| 95 | + "element-closest": "^2.0.2", |
| 96 | + "enzyme": "^2.8.2", |
| 97 | + "enzyme-to-json": "^1.5.1", |
| 98 | + "eslint": "^3.19.0", |
| 99 | + "eslint-plugin-springload": "^2.2.0", |
| 100 | + "extract-text-webpack-plugin": "^3.0.0", |
| 101 | + "immutable": "~3.7.4", |
| 102 | + "jest": "^20.0.0", |
| 103 | + "node-sass": "^4.5.3", |
| 104 | + "postcss-loader": "^2.0.6", |
| 105 | + "prettier": "^1.7.4", |
| 106 | + "prop-types": "^15.5.10", |
| 107 | + "react": "^15.6.1", |
| 108 | + "react-dom": "^15.6.1", |
| 109 | + "react-test-renderer": "^15.6.1", |
| 110 | + "sass-loader": "^6.0.6", |
| 111 | + "webpack": "^3.4.1", |
| 112 | + "webpack-bundle-analyzer": "^2.9.0", |
| 113 | + "webpack-dev-server": "^2.6.1" |
| 114 | + }, |
| 115 | + "peerDependencies": { |
| 116 | + "draft-js": "^0.10.1", |
| 117 | + "prop-types": "^15.5.0", |
| 118 | + "react": "^15.5.0", |
| 119 | + "react-dom": "^15.5.0", |
| 120 | + "immutable": "~3.7.4" |
| 121 | + }, |
| 122 | + "scripts": { |
| 123 | + "start": "webpack-dev-server --config=webpack/webpack.config.dev.js", |
| 124 | + "js": "babel lib -d es && BABEL_ENV=test babel lib -d dist", |
| 125 | + "build": "npm run js -s && webpack --config=webpack/webpack.config.prod.js --display-optimization-bailout && cp examples/assets/draftail.css dist", |
| 126 | + "dist": "NODE_ENV=production npm run build -s", |
| 127 | + "linter:js": "eslint", |
| 128 | + "formatter:js": "prettier --write", |
| 129 | + "lint": "npm run linter:js -s -- .", |
| 130 | + "format": "npm run formatter:js -- lib/**/*.js examples/sources/*.js examples/entities/*.js examples/utils/*.js examples/*.js webpack/*.js", |
| 131 | + "test": "jest", |
| 132 | + "test:coverage": "jest --coverage", |
| 133 | + "test:watch": "jest --watch", |
| 134 | + "test:watch:coverage": "jest --watch --coverage", |
| 135 | + "report:coverage": "open coverage/lcov-report/index.html", |
| 136 | + "report:build": "open webpack/webpack-stats.html", |
| 137 | + "test:ci": "npm run lint -s && npm run test:coverage -s && npm run dist -s" |
| 138 | + } |
139 | 139 | }
|
0 commit comments