UNPKG

4.36 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.0.5",
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 && rm ./dist/package.json || true && cp package.json ./dist/package.json && rm ./dist/README.md || true && cp README.md ./dist/README.md || true ",
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|less)$": "<rootDir>/__mocks__/styleMock.js"
42 }
43 },
44 "dependencies": {
45 "@fortawesome/fontawesome-svg-core": "^1.2.12",
46 "@fortawesome/free-brands-svg-icons": "^5.7.2",
47 "@fortawesome/free-solid-svg-icons": "^5.6.3",
48 "@fortawesome/react-fontawesome": "^0.1.3",
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-keyboard-shortcuts": "^1.1.3",
58 "react-simple-tooltip": "^2.3.3",
59 "sbd": "^1.0.15",
60 "smpte-timecode": "^1.2.3"
61 },
62 "peerDependencies": {
63 "react": "^16.6.0",
64 "react-dom": "^16.8.6"
65 },
66 "devDependencies": {
67 "@babel/cli": "^7.1.2",
68 "@babel/core": "^7.1.2",
69 "@babel/plugin-proposal-class-properties": "^7.1.0",
70 "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
71 "@babel/preset-env": "^7.2.3",
72 "@babel/preset-react": "^7.0.0",
73 "@storybook/addon-a11y": "^5.0.8",
74 "@storybook/addon-actions": "^5.0.8",
75 "@storybook/addon-knobs": "^5.0.8",
76 "@storybook/addon-links": "^5.0.8",
77 "@storybook/addon-viewport": "^5.0.8",
78 "@storybook/addons": "^5.0.8",
79 "@storybook/react": "^5.0.8",
80 "babel-eslint": "^10.0.1",
81 "babel-jest": "^24.7.1",
82 "babel-loader": "^8.0.5",
83 "babel-plugin-transform-object-rest-spread": "^6.26.0",
84 "babel-preset-minify": "^0.5.0",
85 "css-loader": "^2.1.1",
86 "enzyme": "^3.7.0",
87 "eslint": "^5.16.0",
88 "eslint-config-airbnb-base": "^13.1.0",
89 "eslint-plugin-css-modules": "^2.11.0",
90 "eslint-plugin-import": "^2.14.0",
91 "eslint-plugin-react": "^7.12.4",
92 "gh-pages": "^2.0.1",
93 "husky": "^1.1.3",
94 "jest": "^24.7.1",
95 "node-sass": "^4.12.0",
96 "prettier-stylelint": "^0.4.2",
97 "react-testing-library": "^5.2.3",
98 "regenerator-runtime": "^0.12.1",
99 "rimraf": "^2.6.2",
100 "sass-loader": "^7.1.0",
101 "style-loader": "^0.23.1",
102 "stylelint-config-standard": "^18.2.0",
103 "webpack": "^4.29.6",
104 "webpack-cli": "^3.3.6",
105 "why-did-you-update": "^1.0.6"
106 },
107 "contributors": [
108 {
109 "name": "Pietro Passarelli",
110 "email": "pietro.passarelli@bbc.co.uk",
111 "url": "https://github.com/pietrop"
112 },
113 {
114 "name": "James Dooley",
115 "email": "james.dooley@bbc.co.uk",
116 "url": "https://github.com/jamesdools"
117 }
118 ],
119 "license": "MIT",
120 "bugs": {
121 "url": "https://github.com/bbc/react-transcript-editor/issues"
122 },
123 "homepage": "https://github.com/bbc/react-transcript-editor",
124 "repository": {
125 "type": "git",
126 "url": "git+https://github.com/bbc/react-transcript-editor.git"
127 },
128 "browserslist": [
129 ">0.2%",
130 "not dead",
131 "not ie <= 11",
132 "not op_mini all"
133 ]
134}