1 | {
|
2 | "name": "react-highlight-words",
|
3 | "version": "0.5.0",
|
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 && NODE_ENV=production webpack --config webpack.config.website.js -p --bail",
|
9 | "build:dist": "npm run clean:dist && NODE_ENV=production webpack --config webpack.config.dist.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": "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 | "css-loader": "^0.23.0",
|
69 | "cssnext": "^1.8.4",
|
70 | "cssnext-loader": "^1.0.1",
|
71 | "expect.js": "^0.3.1",
|
72 | "gh-pages": "^0.8.0",
|
73 | "html-webpack-plugin": "^1.7.0",
|
74 | "karma": "^0.13.15",
|
75 | "karma-junit-reporter": "^0.3.8",
|
76 | "karma-mocha": "^0.2.1",
|
77 | "karma-phantomjs2-launcher": "^0.3.2",
|
78 | "karma-sourcemap-loader": "^0.3.6",
|
79 | "karma-spec-reporter": "0.0.23",
|
80 | "karma-webpack": "^1.7.0",
|
81 | "latinize": "^0.2.0",
|
82 | "mocha": "^2.3.4",
|
83 | "phantomjs2": "^2.0.2",
|
84 | "react": "^15.1.0",
|
85 | "react-dom": "^15.1.0",
|
86 | "react-transform-catch-errors": "^1.0.0",
|
87 | "react-transform-hmr": "^1.0.1",
|
88 | "redbox-react": "^1.2.6",
|
89 | "rimraf": "^2.4.4",
|
90 | "standard": "^5.4.1",
|
91 | "style-loader": "^0.13.0",
|
92 | "watch": "^0.16.0",
|
93 | "webpack": "^1.12.9",
|
94 | "webpack-dev-server": "^1.14.0",
|
95 | "worker-loader": "^0.7.0"
|
96 | },
|
97 | "dependencies": {
|
98 | "highlight-words-core": "^1.0.2"
|
99 | },
|
100 | "peerDependencies": {
|
101 | "react": "^0.14.0 || ^15.0.0"
|
102 | }
|
103 | }
|