|
1 | 1 | { |
2 | | - "name": "search-client", |
3 | | - "version": "1.0.0-rc.2", |
4 | | - "description": "Javascript library for executing searches in the IntelliSearch search-index via the SearchService REST interface.", |
5 | | - "author": "Ronny Hanssen <ronny@intellisearch.com> (http://intellisearch.com/)", |
6 | | - "license": "MIT", |
7 | | - "repository": { |
8 | | - "type": "git", |
9 | | - "url": "git+https://github.com/IntelliSearch/search-client.git" |
10 | | - }, |
11 | | - "homepage": "https://github.com/intellisearch/search-client#readme", |
12 | | - "bugs": { |
13 | | - "url": "https://github.com/intellisearch/search-client/issues" |
14 | | - }, |
15 | | - "main": "lib/SearchClient.js", |
16 | | - "module": "es/SearchClient.js", |
17 | | - "browser": "dist/IntelliSearch.js", |
18 | | - "types": "es/SearchClient.d.ts", |
19 | | - "scripts": { |
20 | | - "prebuild": "yarn run clean", |
21 | | - "build": "yarn run build:lib && yarn run build:es && yarn run build:umd", |
22 | | - "build:lib": "tsc --outDir lib --module commonjs", |
23 | | - "build:es": "tsc --outDir es --module es2015", |
24 | | - "build:umd": "webpack --config webpack.config.js", |
25 | | - "build:umd:watch": "webpack --config webpack.config.js --watch", |
26 | | - "postbuild": "rimraf {lib,es}/**/__tests__ {lib,es}/**/*.{spec,test}.*", |
27 | | - "clean": "rimraf dist/* es/* lib/* docs/* coverage/* tmp/*", |
28 | | - "typecheck": "tsc --noEmit", |
29 | | - "lint": "tslint --project tsconfig.json --format stylish --exclude src/test-data/categories.json", |
30 | | - "test": "jest --env=jsdom --coverage", |
31 | | - "test:watch": "jest --env=jsdom --watch --updateSnapshot", |
32 | | - "posttest": "yarn run typecheck && yarn run lint", |
33 | | - "predocs": "node docs-prepare.js", |
34 | | - "docs": "echo \"*** Documenting...\" && yarn run rimraf docs && yarn run typedoc ./src/ --options typedoc.json && echo \"*** Documentation created: ./docs/index.html\"", |
35 | | - "postdocs": "yarn run rimraf tmp && node docs-finalize.js", |
36 | | - "verify": "yarn run clean && yarn run build && yarn run test && yarn run docs && echo \"*** Verify success.\" && echo \"- If ready to release, commit changes and then 'yarn run bump' (optionally with params https://www.npmjs.com/package/standard-version).\" && echo \"- Note that commit comment should follow standard-version comment convention https://github.com/bcoe/conventional-changelog-standard/blob/master/convention.md\"", |
37 | | - "bump": "yarn run standard-version", |
38 | | - "pack": "echo \"*** Packing...\" && yarn pack && echo \"Pack success.\" && echo \"- Package created.\" && echo \"- Remember to git-push commits and tags to the git-origin!\" && echo \"- Run 'npm publish' to publish the package to the npmjs repository.\"", |
39 | | - "//prepublishOnly": "yarn run build", |
40 | | - "//preversion": "yarn test", |
41 | | - "//postversion": "git push && git push --tags", |
42 | | - "samples:plain": "concurrently \"browser-sync samples/plain dist -w --port 9000\" \"yarn run build:umd:watch\" ", |
43 | | - "samples:plain:browser": "browser-sync samples/plain dist -w --port 9000" |
| 2 | + "name": "search-client", |
| 3 | + "version": "1.0.0-rc.3", |
| 4 | + "description": "Javascript library for executing searches in the IntelliSearch search-index via the SearchService REST interface.", |
| 5 | + "author": "Ronny Hanssen <ronny@intellisearch.com> (http://intellisearch.com/)", |
| 6 | + "license": "MIT", |
| 7 | + "repository": { |
| 8 | + "type": "git", |
| 9 | + "url": "git+https://github.com/IntelliSearch/search-client.git" |
| 10 | + }, |
| 11 | + "homepage": "https://github.com/intellisearch/search-client#readme", |
| 12 | + "bugs": { |
| 13 | + "url": "https://github.com/intellisearch/search-client/issues" |
| 14 | + }, |
| 15 | + "main": "lib/SearchClient.js", |
| 16 | + "module": "es/SearchClient.js", |
| 17 | + "browser": "dist/IntelliSearch.js", |
| 18 | + "types": "es/SearchClient.d.ts", |
| 19 | + "scripts": { |
| 20 | + "prebuild": "yarn run clean", |
| 21 | + "build": "yarn run build:lib && yarn run build:es && yarn run build:umd", |
| 22 | + "build:lib": "tsc --outDir lib --module commonjs", |
| 23 | + "build:es": "tsc --outDir es --module es2015", |
| 24 | + "build:umd": "webpack --config webpack.config.js", |
| 25 | + "build:umd:watch": "webpack --config webpack.config.js --watch", |
| 26 | + "postbuild": "rimraf {lib,es}/**/__tests__ {lib,es}/**/*.{spec,test}.*", |
| 27 | + "clean": "rimraf dist/* es/* lib/* docs/* coverage/* tmp/*", |
| 28 | + "typecheck": "tsc --noEmit", |
| 29 | + "lint": "tslint --project tsconfig.json --format stylish --exclude src/test-data/categories.json", |
| 30 | + "test": "jest --env=jsdom --coverage", |
| 31 | + "test:watch": "jest --env=jsdom --watch --updateSnapshot", |
| 32 | + "posttest": "yarn run typecheck && yarn run lint", |
| 33 | + "predocs": "node docs-prepare.js", |
| 34 | + "docs": "echo \"*** Documenting...\" && yarn run rimraf docs && yarn run typedoc ./src/ --options typedoc.json && echo \"*** Documentation created: ./docs/index.html\"", |
| 35 | + "postdocs": "yarn run rimraf tmp && node docs-finalize.js", |
| 36 | + "verify": "yarn run clean && yarn run build && yarn run test && yarn run docs && echo \"*** Verify success.\" && echo \"- If ready to release, commit changes and then 'yarn run bump' (optionally with params https://www.npmjs.com/package/standard-version).\" && echo \"- Note that commit comment should follow standard-version comment convention https://github.com/bcoe/conventional-changelog-standard/blob/master/convention.md\"", |
| 37 | + "bump": "yarn run standard-version", |
| 38 | + "pack": "echo \"*** Packing...\" && yarn pack && echo \"Pack success.\" && echo \"- Package created.\" && echo \"- Remember to git-push commits and tags to the git-origin!\" && echo \"- Run 'npm publish' to publish the package to the npmjs repository.\"", |
| 39 | + "//prepublishOnly": "yarn run build", |
| 40 | + "//preversion": "yarn test", |
| 41 | + "//postversion": "git push && git push --tags", |
| 42 | + "samples:plain": "concurrently \"browser-sync samples/plain dist -w --port 9000\" \"yarn run build:umd:watch\" ", |
| 43 | + "samples:plain:browser": "browser-sync samples/plain dist -w --port 9000" |
| 44 | + }, |
| 45 | + "keywords": [ |
| 46 | + "typescript", |
| 47 | + "library", |
| 48 | + "intellisearch", |
| 49 | + "search-client", |
| 50 | + "search-engine" |
| 51 | + ], |
| 52 | + "files": [ |
| 53 | + "lib", |
| 54 | + "es", |
| 55 | + "dist" |
| 56 | + ], |
| 57 | + "dependencies": { |
| 58 | + "@types/deep-equal": "^1.0.1", |
| 59 | + "@types/jwt-simple": "^0.5.33", |
| 60 | + "@types/moment": "^2.13.0", |
| 61 | + "@types/node": "^10.3.3", |
| 62 | + "@types/valid-url": "^1.0.2", |
| 63 | + "cross-fetch": "^2.2.1", |
| 64 | + "deep-equal": "^1.0.1", |
| 65 | + "jwt-simple": "^0.5.1", |
| 66 | + "moment": "^2.22.2", |
| 67 | + "tslib": "^1.9.2", |
| 68 | + "valid-url": "^1.0.9" |
| 69 | + }, |
| 70 | + "devDependencies": { |
| 71 | + "@types/jest": "^23.1.0", |
| 72 | + "browser-sync": "^2.24.6", |
| 73 | + "concat-files": "^0.1.1", |
| 74 | + "concurrently": "^4.0.0", |
| 75 | + "cpx": "^1.5.0", |
| 76 | + "jest": "^23.1.0", |
| 77 | + "jest-fetch-mock": "^1.6.5", |
| 78 | + "jest-plugin-unhandled-promise": "^2.9.0", |
| 79 | + "node-watch": "^0.5.8", |
| 80 | + "pascal-case": "^2.0.1", |
| 81 | + "replace-in-file": "^3.4.0", |
| 82 | + "rimraf": "^2.6.2", |
| 83 | + "standard-version": "^4.4.0", |
| 84 | + "ts-jest": "^22.4.6", |
| 85 | + "ts-loader": "^4.5.0", |
| 86 | + "tslint": "^5.10.0", |
| 87 | + "typedoc": "^0.11.1", |
| 88 | + "typescript": "^2.9.2", |
| 89 | + "uglifyjs-webpack-plugin": "^1.3.0", |
| 90 | + "webpack": "^4.17.1", |
| 91 | + "webpack-cli": "^3.1.0" |
| 92 | + }, |
| 93 | + "jest": { |
| 94 | + "automock": false, |
| 95 | + "setupFiles": [ |
| 96 | + "jest-plugin-unhandled-promise/setup" |
| 97 | + ], |
| 98 | + "transform": { |
| 99 | + "^.+\\.(t|j)sx?$": "ts-jest" |
44 | 100 | }, |
45 | | - "keywords": [ |
46 | | - "typescript", |
47 | | - "library", |
48 | | - "intellisearch", |
49 | | - "search-client", |
50 | | - "search-engine" |
| 101 | + "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", |
| 102 | + "testPathIgnorePatterns": [ |
| 103 | + "node_modules", |
| 104 | + "lib", |
| 105 | + "es", |
| 106 | + "dist", |
| 107 | + "samples" |
51 | 108 | ], |
52 | | - "files": [ |
53 | | - "lib", |
54 | | - "es", |
55 | | - "dist" |
| 109 | + "collectCoverageFrom": [ |
| 110 | + "src/**/*.{t,j}s?(x)", |
| 111 | + "!src/**/*.d.ts" |
56 | 112 | ], |
57 | | - "dependencies": { |
58 | | - "@types/deep-equal": "^1.0.1", |
59 | | - "@types/jwt-simple": "^0.5.33", |
60 | | - "@types/moment": "^2.13.0", |
61 | | - "@types/node": "^10.3.3", |
62 | | - "@types/valid-url": "^1.0.2", |
63 | | - "cross-fetch": "^2.2.1", |
64 | | - "deep-equal": "^1.0.1", |
65 | | - "jwt-simple": "^0.5.1", |
66 | | - "moment": "^2.22.2", |
67 | | - "tslib": "^1.9.2", |
68 | | - "valid-url": "^1.0.9" |
69 | | - }, |
70 | | - "devDependencies": { |
71 | | - "@types/jest": "^23.1.0", |
72 | | - "browser-sync": "^2.24.6", |
73 | | - "concat-files": "^0.1.1", |
74 | | - "concurrently": "^4.0.0", |
75 | | - "cpx": "^1.5.0", |
76 | | - "jest": "^23.1.0", |
77 | | - "jest-fetch-mock": "^1.6.5", |
78 | | - "jest-plugin-unhandled-promise": "^2.9.0", |
79 | | - "node-watch": "^0.5.8", |
80 | | - "pascal-case": "^2.0.1", |
81 | | - "replace-in-file": "^3.4.0", |
82 | | - "rimraf": "^2.6.2", |
83 | | - "standard-version": "^4.4.0", |
84 | | - "ts-jest": "^22.4.6", |
85 | | - "ts-loader": "^4.5.0", |
86 | | - "tslint": "^5.10.0", |
87 | | - "typedoc": "^0.11.1", |
88 | | - "typescript": "^2.9.2", |
89 | | - "uglifyjs-webpack-plugin": "^1.3.0", |
90 | | - "webpack": "^4.17.1", |
91 | | - "webpack-cli": "^3.1.0" |
92 | | - }, |
93 | | - "jest": { |
94 | | - "automock": false, |
95 | | - "setupFiles": [ |
96 | | - "jest-plugin-unhandled-promise/setup" |
97 | | - ], |
98 | | - "transform": { |
99 | | - "^.+\\.(t|j)sx?$": "ts-jest" |
100 | | - }, |
101 | | - "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", |
102 | | - "testPathIgnorePatterns": [ |
103 | | - "node_modules", |
104 | | - "lib", |
105 | | - "es", |
106 | | - "dist", |
107 | | - "samples" |
108 | | - ], |
109 | | - "collectCoverageFrom": [ |
110 | | - "src/**/*.{t,j}s?(x)", |
111 | | - "!src/**/*.d.ts" |
112 | | - ], |
113 | | - "moduleFileExtensions": [ |
114 | | - "js", |
115 | | - "jsx", |
116 | | - "json", |
117 | | - "ts", |
118 | | - "tsx" |
119 | | - ], |
120 | | - "globals": { |
121 | | - "ts-jest": { |
122 | | - "skipBabel": true, |
123 | | - "tsConfigFile": "tsconfig.jest.json" |
124 | | - } |
125 | | - } |
| 113 | + "moduleFileExtensions": [ |
| 114 | + "js", |
| 115 | + "jsx", |
| 116 | + "json", |
| 117 | + "ts", |
| 118 | + "tsx" |
| 119 | + ], |
| 120 | + "globals": { |
| 121 | + "ts-jest": { |
| 122 | + "skipBabel": true, |
| 123 | + "tsConfigFile": "tsconfig.jest.json" |
| 124 | + } |
126 | 125 | } |
| 126 | + } |
127 | 127 | } |
0 commit comments