UNPKG

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