UNPKG

2.51 kBJSONView Raw
1{
2 "name": "@aws-amplify/cache",
3 "version": "4.0.44",
4 "description": "Cache category of aws-amplify",
5 "main": "./lib/index.js",
6 "module": "./lib-esm/index.js",
7 "typings": "./lib-esm/index.d.ts",
8 "react-native": {
9 "./lib/index": "./lib-esm/reactnative.js"
10 },
11 "sideEffects": [
12 "./src/reactnative.ts",
13 "./src/index.ts",
14 "./lib/index.js",
15 "./lib/reactnative.js",
16 "./lib-esm/index.js",
17 "./lib-esm/reactnative.js",
18 "./dist/aws-amplify-cache.js",
19 "./dist/aws-amplify-cache.min.js"
20 ],
21 "publishConfig": {
22 "access": "public"
23 },
24 "scripts": {
25 "test": "tslint 'src/**/*.ts' && jest -w 1 --coverage",
26 "build-with-test": "npm test && npm run build",
27 "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js",
28 "build:esm": "node ./build es6",
29 "build:cjs:watch": "node ./build es5 --watch",
30 "build:esm:watch": "node ./build es6 --watch",
31 "build": "npm run clean && npm run build:esm && npm run build:cjs",
32 "clean": "rimraf lib-esm lib dist",
33 "format": "echo \"Not implemented\"",
34 "lint": "tslint 'src/**/*.ts'"
35 },
36 "repository": {
37 "type": "git",
38 "url": "https://github.com/aws-amplify/amplify-js.git"
39 },
40 "author": "Amazon Web Services",
41 "license": "Apache-2.0",
42 "bugs": {
43 "url": "https://github.com/aws/aws-amplify/issues"
44 },
45 "homepage": "https://aws-amplify.github.io/",
46 "dependencies": {
47 "@aws-amplify/core": "4.5.6"
48 },
49 "jest": {
50 "globals": {
51 "ts-jest": {
52 "diagnostics": false,
53 "tsConfig": {
54 "lib": [
55 "es5",
56 "es2015",
57 "dom",
58 "esnext.asynciterable",
59 "es2017.object"
60 ],
61 "allowJs": true
62 }
63 }
64 },
65 "transform": {
66 "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
67 },
68 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
69 "moduleFileExtensions": [
70 "ts",
71 "tsx",
72 "js",
73 "json",
74 "jsx"
75 ],
76 "setupFiles": [
77 "./__mocks__/SessionStorage.js",
78 "./__mocks__/LocalStorage.js"
79 ],
80 "testEnvironment": "jsdom",
81 "testURL": "http://localhost/",
82 "coverageThreshold": {
83 "global": {
84 "branches": 0,
85 "functions": 0,
86 "lines": 0,
87 "statements": 0
88 }
89 },
90 "coveragePathIgnorePatterns": [
91 "/node_modules/",
92 "dist",
93 "lib",
94 "lib-esm"
95 ]
96 },
97 "gitHead": "78a6b547b69cc9032fd5ffce86285f38f2536b7f"
98}