1 | {
|
2 | "name": "@bbc/react-transcript-editor",
|
3 | "description": "A React component to make transcribing audio and video easier and faster.",
|
4 | "version": "0.5.1",
|
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 | "publish:public": "npm run build:component && rm ./dist/package.json || true && cp package.json ./dist/package.json && npm publish dist --access public",
|
28 | "publish:dry:run": "npm publish --dry-run"
|
29 | },
|
30 | "jest": {
|
31 | "moduleFileExtensions": [
|
32 | "js",
|
33 | "jsx"
|
34 | ],
|
35 | "moduleDirectories": [
|
36 | "node_modules"
|
37 | ],
|
38 | "moduleNameMapper": {
|
39 | "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
|
40 | "\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
|
41 | }
|
42 | },
|
43 | "dependencies": {
|
44 | "@fortawesome/fontawesome-svg-core": "^1.2.12",
|
45 | "@fortawesome/free-brands-svg-icons": "^5.7.2",
|
46 | "@fortawesome/free-solid-svg-icons": "^5.6.3",
|
47 | "@fortawesome/react-fontawesome": "^0.1.3",
|
48 | "babel-polyfill": "^6.26.0",
|
49 | "draft-js": "^0.10.5",
|
50 | "mousetrap": "1.5.2",
|
51 | "prop-types": "^15.6.2",
|
52 | "react-keyboard-shortcuts": "^1.1.3",
|
53 | "react-simple-tooltip": "^2.3.3"
|
54 | },
|
55 | "peerDependencies": {
|
56 | "react": "^16.6.0",
|
57 | "react-dom": "^16.8.6"
|
58 | },
|
59 | "devDependencies": {
|
60 | "@babel/cli": "^7.1.2",
|
61 | "@babel/core": "^7.1.2",
|
62 | "@babel/plugin-proposal-class-properties": "^7.1.0",
|
63 | "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
64 | "@babel/preset-env": "^7.2.3",
|
65 | "@babel/preset-react": "^7.0.0",
|
66 | "@storybook/addon-a11y": "^5.0.8",
|
67 | "@storybook/addon-actions": "^5.0.8",
|
68 | "@storybook/addon-knobs": "^5.0.8",
|
69 | "@storybook/addon-links": "^5.0.8",
|
70 | "@storybook/addon-viewport": "^5.0.8",
|
71 | "@storybook/addons": "^5.0.8",
|
72 | "@storybook/react": "^5.0.8",
|
73 | "babel-eslint": "^10.0.1",
|
74 | "babel-jest": "^24.7.1",
|
75 | "babel-loader": "^8.0.5",
|
76 | "babel-plugin-transform-object-rest-spread": "^6.26.0",
|
77 | "babel-preset-minify": "^0.5.0",
|
78 | "css-loader": "^2.1.1",
|
79 | "enzyme": "^3.7.0",
|
80 | "eslint": "^5.16.0",
|
81 | "eslint-config-airbnb-base": "^13.1.0",
|
82 | "eslint-plugin-css-modules": "^2.11.0",
|
83 | "eslint-plugin-import": "^2.14.0",
|
84 | "eslint-plugin-react": "^7.12.4",
|
85 | "gh-pages": "^2.0.1",
|
86 | "husky": "^1.1.3",
|
87 | "jest": "^24.7.1",
|
88 | "node-sass": "^4.11.0",
|
89 | "prettier-stylelint": "^0.4.2",
|
90 | "react-testing-library": "^5.2.3",
|
91 | "regenerator-runtime": "^0.12.1",
|
92 | "rimraf": "^2.6.2",
|
93 | "sass-loader": "^7.1.0",
|
94 | "style-loader": "^0.23.1",
|
95 | "stylelint-config-standard": "^18.2.0",
|
96 | "webpack": "^4.29.6",
|
97 | "webpack-cli": "^3.3.0"
|
98 | },
|
99 | "contributors": [
|
100 | {
|
101 | "name": "Pietro Passarelli",
|
102 | "email": "pietro.passarelli@bbc.co.uk",
|
103 | "url": "https://github.com/pietrop"
|
104 | },
|
105 | {
|
106 | "name": "James Dooley",
|
107 | "email": "james.dooley@bbc.co.uk",
|
108 | "url": "https://github.com/jamesdools"
|
109 | }
|
110 | ],
|
111 | "license": "MIT",
|
112 | "bugs": {
|
113 | "url": "https://github.com/bbc/react-transcript-editor/issues"
|
114 | },
|
115 | "homepage": ".",
|
116 | "repository": {
|
117 | "type": "git",
|
118 | "url": "git+https://github.com/bbc/react-transcript-editor.git"
|
119 | },
|
120 | "browserslist": [
|
121 | ">0.2%",
|
122 | "not dead",
|
123 | "not ie <= 11",
|
124 | "not op_mini all"
|
125 | ],
|
126 | "prettier": {}
|
127 | }
|