UNPKG

3.17 kBJSONView Raw
1{
2 "name": "react-highlight-words",
3 "version": "0.15.1",
4 "description": "React component to highlight words within a larger body of text",
5 "main": "dist/main.js",
6 "scripts": {
7 "build": "npm run build:website && npm run build:dist",
8 "build:website": "npm run clean:website && cross-env NODE_ENV=production webpack --config webpack.config.website.js -p --bail",
9 "build:dist": "npm run clean:dist && cross-env NODE_ENV=production webpack --config webpack.config.dist.cjs.js --bail && cross-env NODE_ENV=production webpack --config webpack.config.dist.umd.js --bail",
10 "clean": "npm run clean:website && npm run clean:dist",
11 "clean:website": "rimraf build",
12 "clean:dist": "rimraf dist",
13 "deploy": "gh-pages -d build",
14 "lint": "standard",
15 "prebuild": "npm run lint",
16 "postpublish": "npm run deploy",
17 "prepublish": "npm run build",
18 "start": "webpack-dev-server --hot --inline --config webpack.config.dev.js",
19 "test": "cross-env NODE_ENV=test karma start",
20 "watch": "watch 'clear && npm run lint -s && npm run test -s' src"
21 },
22 "repository": {
23 "type": "git",
24 "url": "git+https://github.com/bvaughn/react-highlight-words.git"
25 },
26 "author": "Brian Vaughn",
27 "license": "MIT",
28 "bugs": {
29 "url": "https://github.com/bvaughn/react-highlight-words/issues"
30 },
31 "homepage": "https://github.com/bvaughn/react-highlight-words#readme",
32 "keywords": [
33 "react",
34 "reactjs",
35 "react-component",
36 "highlighter",
37 "highlight",
38 "text",
39 "words",
40 "matches",
41 "substring",
42 "occurrences",
43 "search"
44 ],
45 "standard": {
46 "parser": "babel-eslint",
47 "ignore": [
48 "build",
49 "dist",
50 "node_modules"
51 ],
52 "global": [
53 "afterAll",
54 "afterEach",
55 "beforeAll",
56 "beforeEach",
57 "describe",
58 "it",
59 "jasmine"
60 ]
61 },
62 "devDependencies": {
63 "babel": "^5.8.34",
64 "babel-core": "^5.8.34",
65 "babel-eslint": "^4.1.6",
66 "babel-loader": "^5.4.0",
67 "babel-plugin-react-transform": "^1.1.1",
68 "cross-env": "^5.1.3",
69 "css-loader": "^0.23.0",
70 "cssnext": "^1.8.4",
71 "cssnext-loader": "^1.0.1",
72 "expect.js": "^0.3.1",
73 "gh-pages": "^0.8.0",
74 "html-webpack-plugin": "^1.7.0",
75 "karma": "^0.13.15",
76 "karma-junit-reporter": "^0.3.8",
77 "karma-mocha": "^0.2.1",
78 "karma-phantomjs2-launcher": "^0.3.2",
79 "karma-sourcemap-loader": "^0.3.6",
80 "karma-spec-reporter": "0.0.23",
81 "karma-webpack": "^1.7.0",
82 "latinize": "^0.2.0",
83 "lodash": "^4.17.10",
84 "mocha": "^2.3.4",
85 "phantomjs2": "^2.0.2",
86 "react": "^15.1.0",
87 "react-dom": "^15.1.0",
88 "react-transform-catch-errors": "^1.0.0",
89 "react-transform-hmr": "^1.0.1",
90 "redbox-react": "1.2.6",
91 "rimraf": "^2.4.4",
92 "standard": "^5.4.1",
93 "style-loader": "^0.13.0",
94 "watch": "^0.16.0",
95 "webpack": "^1.12.9",
96 "webpack-dev-server": "^1.14.0",
97 "worker-loader": "^0.7.0"
98 },
99 "dependencies": {
100 "highlight-words-core": "^1.2.0",
101 "memoize-one": "^4.0.0",
102 "prop-types": "^15.5.8"
103 },
104 "peerDependencies": {
105 "react": "^0.14.0 || ^15.0.0 || ^16.0.0-0"
106 }
107}