UNPKG

3.94 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": "0.4.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-actions": "^5.0.6",
67 "@storybook/addon-links": "^5.0.6",
68 "@storybook/addon-options": "^5.0.6",
69 "@storybook/addons": "^5.0.6",
70 "@storybook/react": "^5.0.6",
71 "babel-eslint": "^10.0.1",
72 "babel-jest": "^24.7.1",
73 "babel-loader": "^8.0.5",
74 "babel-plugin-transform-object-rest-spread": "^6.26.0",
75 "babel-preset-minify": "^0.5.0",
76 "css-loader": "^2.1.1",
77 "enzyme": "^3.7.0",
78 "eslint": "^5.16.0",
79 "eslint-config-airbnb-base": "^13.1.0",
80 "eslint-plugin-css-modules": "^2.11.0",
81 "eslint-plugin-import": "^2.14.0",
82 "eslint-plugin-react": "^7.12.4",
83 "gh-pages": "^2.0.1",
84 "husky": "^1.1.3",
85 "jest": "^24.7.1",
86 "node-sass": "^4.11.0",
87 "prettier-stylelint": "^0.4.2",
88 "react-testing-library": "^5.2.3",
89 "regenerator-runtime": "^0.12.1",
90 "rimraf": "^2.6.2",
91 "sass-loader": "^7.1.0",
92 "style-loader": "^0.23.1",
93 "stylelint-config-standard": "^18.2.0",
94 "webpack": "^4.29.6",
95 "webpack-cli": "^3.3.0"
96 },
97 "contributors": [
98 {
99 "name": "Pietro Passarelli",
100 "email": "pietro.passarelli@bbc.co.uk",
101 "url": "https://github.com/pietrop"
102 },
103 {
104 "name": "James Dooley",
105 "email": "james.dooley@bbc.co.uk",
106 "url": "https://github.com/jamesdools"
107 }
108 ],
109 "license": "MIT",
110 "bugs": {
111 "url": "https://github.com/bbc/react-transcript-editor/issues"
112 },
113 "homepage": ".",
114 "repository": {
115 "type": "git",
116 "url": "git+https://github.com/bbc/react-transcript-editor.git"
117 },
118 "browserslist": [
119 ">0.2%",
120 "not dead",
121 "not ie <= 11",
122 "not op_mini all"
123 ],
124 "prettier": {}
125}