UNPKG

4.01 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.0",
5 "keywords": [
6 "transcript",
7 "transcriptions",
8 "react",
9 "speech",
10 "speech to text",
11 "textAV"
12 ],
13 "main": "dist/index.js",
14 "module": "dist/index.js",
15 "files": [
16 "dist"
17 ],
18 "scripts": {
19 "start": "npm run storybook",
20 "storybook": "start-storybook -p 6006",
21 "test": "jest",
22 "test:watch": "jest --watchAll",
23 "test:ci": "jest --ci",
24 "lint": "eslint --ignore-path .eslintignore .",
25 "lint:fix": "eslint --ignore-path .eslintignore . --fix",
26 "lint:fix-styles": "prettier-stylelint --write 'packages/**/*.{css,scss}'",
27 "build:component": "webpack --config webpack.config.js",
28 "build:storybook": "rimraf build && build-storybook -c .storybook -o build",
29 "build:storybook:serve": "npx serve build",
30 "deploy:ghpages": "rimraf build && npm run build:storybook && gh-pages -d build",
31 "publish:public": "npm run build:component && rm ./dist/package.json || true && cp package.json ./dist/package.json && npm publish dist --access public",
32 "publish:dry:run": "npm publish --dry-run"
33 },
34 "jest": {
35 "moduleFileExtensions": [
36 "js",
37 "jsx"
38 ],
39 "moduleDirectories": [
40 "node_modules"
41 ],
42 "moduleNameMapper": {
43 "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
44 "\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
45 }
46 },
47 "dependencies": {
48 "@fortawesome/fontawesome-svg-core": "^1.2.12",
49 "@fortawesome/free-brands-svg-icons": "^5.7.2",
50 "@fortawesome/free-solid-svg-icons": "^5.6.3",
51 "@fortawesome/react-fontawesome": "^0.1.3",
52 "babel-polyfill": "^6.26.0",
53 "draft-js": "^0.10.5",
54 "mousetrap": "1.5.2",
55 "prop-types": "^15.6.2",
56 "react-keyboard-shortcuts": "^1.1.3",
57 "react-simple-tooltip": "^2.3.3"
58 },
59 "peerDependencies": {
60 "react": "^16.6.0",
61 "react-dom": "^16.8.6"
62 },
63 "devDependencies": {
64 "@babel/cli": "^7.1.2",
65 "@babel/core": "^7.1.2",
66 "@babel/plugin-proposal-class-properties": "^7.1.0",
67 "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
68 "@babel/preset-env": "^7.2.3",
69 "@babel/preset-react": "^7.0.0",
70 "@storybook/addon-actions": "^5.0.6",
71 "@storybook/addon-links": "^5.0.6",
72 "@storybook/addon-options": "^5.0.6",
73 "@storybook/addons": "^5.0.6",
74 "@storybook/react": "^5.0.6",
75 "babel-eslint": "^10.0.1",
76 "babel-jest": "^24.7.1",
77 "babel-loader": "^8.0.5",
78 "babel-plugin-transform-object-rest-spread": "^6.26.0",
79 "babel-preset-minify": "^0.5.0",
80 "css-loader": "^2.1.1",
81 "enzyme": "^3.7.0",
82 "eslint": "^5.16.0",
83 "eslint-config-airbnb-base": "^13.1.0",
84 "eslint-plugin-css-modules": "^2.11.0",
85 "eslint-plugin-import": "^2.14.0",
86 "eslint-plugin-react": "^7.12.4",
87 "gh-pages": "^2.0.1",
88 "husky": "^1.1.3",
89 "jest": "^24.7.1",
90 "node-sass": "^4.11.0",
91 "prettier-stylelint": "^0.4.2",
92 "react-testing-library": "^5.2.3",
93 "regenerator-runtime": "^0.12.1",
94 "rimraf": "^2.6.2",
95 "sass-loader": "^7.1.0",
96 "style-loader": "^0.23.1",
97 "stylelint-config-standard": "^18.2.0",
98 "webpack": "^4.29.6",
99 "webpack-cli": "^3.3.0"
100 },
101 "contributors": [
102 {
103 "name": "Pietro Passarelli",
104 "email": "pietro.passarelli@bbc.co.uk",
105 "url": "https://github.com/pietrop"
106 },
107 {
108 "name": "James Dooley",
109 "email": "james.dooley@bbc.co.uk",
110 "url": "https://github.com/jamesdools"
111 }
112 ],
113 "license": "MIT",
114 "bugs": {
115 "url": "https://github.com/bbc/react-transcript-editor/issues"
116 },
117 "homepage": ".",
118 "repository": {
119 "type": "git",
120 "url": "git+https://github.com/bbc/react-transcript-editor.git"
121 },
122 "browserslist": [
123 ">0.2%",
124 "not dead",
125 "not ie <= 11",
126 "not op_mini all"
127 ],
128 "prettier": {}
129}