|
| 1 | +{ |
| 2 | + "name": "instantsearch-core", |
| 3 | + "version": "0.1.0", |
| 4 | + "description": "Common utilities and types for InstantSearch.", |
| 5 | + "types": "dist/es/index.d.ts", |
| 6 | + "main": "dist/cjs/index.js", |
| 7 | + "module": "dist/es/index.js", |
| 8 | + "type": "module", |
| 9 | + "exports": { |
| 10 | + ".": { |
| 11 | + "types": "./dist/es/index.d.ts", |
| 12 | + "require": "./dist/cjs/index.js", |
| 13 | + "default": "./dist/es/index.js" |
| 14 | + }, |
| 15 | + "./types": { |
| 16 | + "types": "./types/index.d.ts", |
| 17 | + "require": "./types/index.cjs", |
| 18 | + "default": "./types/index.mjs" |
| 19 | + } |
| 20 | + }, |
| 21 | + "sideEffects": false, |
| 22 | + "license": "MIT", |
| 23 | + "repository": { |
| 24 | + "type": "git", |
| 25 | + "url": "https://github.com/algolia/instantsearch" |
| 26 | + }, |
| 27 | + "author": { |
| 28 | + "name": "Algolia, Inc.", |
| 29 | + "url": "https://www.algolia.com" |
| 30 | + }, |
| 31 | + "keywords": [ |
| 32 | + "algolia", |
| 33 | + "components", |
| 34 | + "fast", |
| 35 | + "instantsearch", |
| 36 | + "react", |
| 37 | + "search" |
| 38 | + ], |
| 39 | + "files": [ |
| 40 | + "README.md", |
| 41 | + "dist" |
| 42 | + ], |
| 43 | + "scripts": { |
| 44 | + "clean": "rm -rf dist", |
| 45 | + "build": "yarn build:cjs && yarn build:es && yarn build:types", |
| 46 | + "build:es:base": "BABEL_ENV=es,disableHoisting babel src --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist/es --ignore '**/__tests__/**/*','**/__mocks__/**/*'", |
| 47 | + "build:es": "yarn build:es:base --quiet", |
| 48 | + "build:cjs": "BABEL_ENV=cjs,disableHoisting babel src --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist/cjs --ignore '**/__tests__/**/*','**/__mocks__/**/*' --quiet && ../../scripts/prepare-cjs.sh", |
| 49 | + "build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/es", |
| 50 | + "version": "./scripts/version.cjs", |
| 51 | + "watch:es": "yarn --silent build:es:base --watch" |
| 52 | + }, |
| 53 | + "dependencies": { |
| 54 | + "@babel/runtime": "^7.1.2", |
| 55 | + "algoliasearch-helper": "3.22.5" |
| 56 | + } |
| 57 | +} |
0 commit comments