UNPKG

4.37 kBJSONView Raw
1{
2 "name": "@bbc/react-transcript-editor",
3 "description": "A React component to make transcribing audio and video easier and faster.",
4 "version": "1.4.4",
5 "keywords": [
6 "transcript",
7 "transcriptions",
8 "react",
9 "speech",
10 "speech to text",
11 "textAV"
12 ],
13 "main": "index.js",
14 "scripts": {
15 "start": "npm run storybook",
16 "storybook": "start-storybook -p 6006",
17 "test": "jest",
18 "test:watch": "jest --watchAll",
19 "test:ci": "jest --ci",
20 "lint": "eslint --ignore-path .eslintignore .",
21 "lint:fix": "eslint --ignore-path .eslintignore . --fix",
22 "lint:fix-styles": "prettier-stylelint --write 'packages/**/*.{css,scss}'",
23 "build:component": "webpack --config webpack.config.js",
24 "build:storybook": "rimraf build && build-storybook -c .storybook -o build",
25 "build:storybook:serve": "npx serve build",
26 "deploy:ghpages": "rimraf build && npm run build:storybook && gh-pages -d build",
27 "pre:publish": "npm run build:component && /bin/cp -rf package.json dist && /bin/cp -rf README.md dist",
28 "publish:public": "npm run pre:publish && npm publish dist --access public",
29 "publish:dry:run": "npm publish --dry-run"
30 },
31 "jest": {
32 "moduleFileExtensions": [
33 "js",
34 "jsx"
35 ],
36 "moduleDirectories": [
37 "node_modules"
38 ],
39 "moduleNameMapper": {
40 "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
41 "\\.(css|scss|less)$": "<rootDir>/__mocks__/styleMock.js"
42 }
43 },
44 "dependencies": {
45 "@fortawesome/fontawesome-svg-core": "^1.2.25",
46 "@fortawesome/free-brands-svg-icons": "^5.11.2",
47 "@fortawesome/free-solid-svg-icons": "^5.11.2",
48 "@fortawesome/react-fontawesome": "^0.1.5",
49 "babel-polyfill": "^6.26.0",
50 "difflib": "^0.2.4",
51 "docx": "^4.7.1",
52 "draft-js": "^0.10.5",
53 "everpolate": "0.0.3",
54 "mousetrap": "1.5.2",
55 "number-to-words": "^1.2.4",
56 "prop-types": "^15.6.2",
57 "react-fast-compare": "^2.0.4",
58 "react-keyboard-shortcuts": "^1.1.3",
59 "react-simple-tooltip": "^2.6.1",
60 "sbd": "^1.0.15",
61 "smpte-timecode": "^1.2.3"
62 },
63 "peerDependencies": {
64 "react": "^16.6.0",
65 "react-dom": "^16.8.6"
66 },
67 "devDependencies": {
68 "@babel/cli": "^7.6.2",
69 "@babel/core": "^7.6.2",
70 "@babel/plugin-proposal-class-properties": "^7.5.5",
71 "@babel/plugin-proposal-object-rest-spread": "^7.6.2",
72 "@babel/preset-env": "^7.6.2",
73 "@babel/preset-react": "^7.0.0",
74 "@storybook/addon-a11y": "^5.2.2",
75 "@storybook/addon-actions": "^5.2.2",
76 "@storybook/addon-knobs": "^5.2.2",
77 "@storybook/addon-links": "^5.2.2",
78 "@storybook/addon-viewport": "^5.2.2",
79 "@storybook/addons": "^5.2.2",
80 "@storybook/react": "^5.2.2",
81 "babel-eslint": "^10.0.3",
82 "babel-jest": "^24.9.0",
83 "babel-loader": "^8.0.6",
84 "babel-plugin-transform-object-rest-spread": "^6.26.0",
85 "babel-preset-minify": "^0.5.1",
86 "css-loader": "^2.1.1",
87 "enzyme": "^3.10.0",
88 "eslint": "^5.16.0",
89 "eslint-config-airbnb-base": "^13.2.0",
90 "eslint-plugin-css-modules": "^2.11.0",
91 "eslint-plugin-import": "^2.18.2",
92 "eslint-plugin-react": "^7.16.0",
93 "gh-pages": "^2.1.1",
94 "husky": "^1.1.3",
95 "jest": "^24.9.0",
96 "mini-css-extract-plugin": "^0.8.0",
97 "node-sass": "^4.14.1",
98 "prettier-stylelint": "^0.4.2",
99 "react-testing-library": "^5.2.3",
100 "regenerator-runtime": "^0.12.1",
101 "rimraf": "^2.7.1",
102 "sass-loader": "^7.3.1",
103 "style-loader": "^0.23.1",
104 "stylelint-config-standard": "^18.3.0",
105 "webpack": "^4.41.0",
106 "webpack-cli": "^3.3.9",
107 "why-did-you-update": "^1.0.6"
108 },
109 "contributors": [
110 {
111 "name": "Pietro Passarelli",
112 "email": "pietro.passarelli@bbc.co.uk",
113 "url": "https://github.com/pietrop"
114 },
115 {
116 "name": "James Dooley",
117 "email": "james.dooley@bbc.co.uk",
118 "url": "https://github.com/jamesdools"
119 }
120 ],
121 "license": "MIT",
122 "bugs": {
123 "url": "https://github.com/bbc/react-transcript-editor/issues"
124 },
125 "homepage": "https://github.com/bbc/react-transcript-editor",
126 "repository": {
127 "type": "git",
128 "url": "git+https://github.com/bbc/react-transcript-editor.git"
129 },
130 "browserslist": [
131 ">0.2%",
132 "not dead",
133 "not ie <= 11",
134 "not op_mini all"
135 ]
136}