UNPKG

@shopify/app-bridge

Version:

[![Build Status](https://travis-ci.com/Shopify/app-bridge.svg?token=RBRyvqQyN525bnfz7J8p&branch=master)](https://travis-ci.com/Shopify/app-bridge) [![codecov](https://codecov.io/gh/Shopify/app-bridge/branch/master/graph/badge.svg?token=nZ21m39Dr6)](https:

131 lines (130 loc) 4.09 kB
{ "name": "@shopify/app-bridge", "version": "0.2.2", "types": "index.d.ts", "main": "index.js", "files": [ "actions.js", "actions.js.map", "actions/", "client/", "index.d.ts", "index.js", "index.js.map", "host.js", "host.js.map", "host/", "types/*", "util/" ], "private": false, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" }, "repository": "git@github.com:Shopify/app-bridge.git", "author": "Shopify Inc.", "license": "MIT", "scripts": { "build": "NODE_ENV=production webpack -p && tsc --project ./tsconfig.build.json --emitDeclarationOnly && echo \"/**\n * @module client\n */\n\nimport createClientApp from './client';\nexport * from './client';\nexport default createClientApp;\n\" > index.d.ts", "build:docs": "typedoc src/actions --out docs/actions -name app-bridge/actions && typedoc src/host -name app-bridge/host --out docs/host && typedoc src/client -name app-bridge/client --out docs/client", "check": "tsc -p ./tsconfig.json --pretty --noEmit", "clean": "rm -rf ./**/*.d.ts ./actions* ./client* ./host* ./index* ./util", "lint": "tslint -c ./tslint.json -p ./tsconfig.json -t codeFrame", "prepublishOnly": "yarn run clean && yarn run build", "start": "webpack-dev-server", "test": "jest 'src'", "test:CI": "CI=true yarn test:coverage", "test:coverage": "yarn test --coverage --outputFile=coverage --maxWorkers 2", "test:watch": "yarn test --watch", "watch": "webpack --progress --watch" }, "devDependencies": { "@shopify/shopify-express": "^1.0.0-alpha.7", "@types/enzyme": "^2.8.12", "@types/jest": "^22.2.0", "@types/react": "^16.0.40", "@types/react-dom": "^16.0.3", "@types/react-hot-loader": "^3.0.4", "@types/react-redux": "^5.0.9", "@types/react-router-dom": "^4.0.8", "@types/react-router-redux": "^5.0.8", "@types/react-test-renderer": "15.5.4", "@types/react-transition-group": "^2.0.6", "@types/webpack-env": "^1.13.1", "awesome-typescript-loader": "^3.4.1", "babel-plugin-system-import-transformer": "^3.1.0", "css-loader": "^0.28.7", "enzyme": "3.3.0", "enzyme-adapter-react-15": "^1.0.5", "express-session": "^1.15.6", "hoist-non-react-statics": "^2.5.0", "html-webpack-plugin": "^2.30.1", "jest": "22.4.2", "postcss-shopify": "^1.0.0", "prettier": "1.12.0", "react": "^15.5.4", "react-dom": "^15.5.4", "react-redux": "^5.0.6", "react-test-renderer": "15.5.4", "react-transition-group": "^2.2.1", "redux": "^3.7.2", "redux-devtools-extension": "^2.13.2", "style-loader": "^0.19.0", "ts-jest": "^22.4.1", "tslint": "^5.9.1", "tslint-config-shopify": "^3.0.1", "typedoc": "^0.10.0", "typedoc-plugin-external-module-name": "^1.1.1", "typedoc-plugin-markdown": "^1.0.14", "typescript": "2.8.1", "webpack": "^3.10.0", "webpack-dev-server": "^2.9.5", "webpack-fix-default-import-plugin": "^1.0.3" }, "prettier": { "bracketSpacing": false, "printWidth": 100, "singleQuote": true, "trailingComma": "all" }, "jest": { "globals": { "ts-jest": { "babelConfig": { "plugins": [ "babel-plugin-system-import-transformer" ], "sourceMaps": "inline" } } }, "setupTestFrameworkScriptFile": "./test/setup.js", "testRegex": ".*\\.test\\.tsx?$", "testURL": "https://app-bridge.myshopify.io/", "transform": { ".tsx?$": "<rootDir>/../../node_modules/ts-jest/preprocessor.js" }, "moduleFileExtensions": [ "js", "jsx", "json", "ts", "tsx" ], "collectCoverageFrom": [ "src/**/*.{js,jsx,ts,tsx}", "!**/node_modules/**", "!**/index.{ts,tsx}", "!**/types.ts" ], "moduleDirectories": [ "<rootDir>/node_modules", "./node_modules", "./src" ], "moduleNameMapper": { "app-bridge/info": "<rootDir>/package.json" } } }