UNPKG

@shopify/polaris

Version:

Shopify’s product component library

155 lines (154 loc) • 5.59 kB
{ "name": "@shopify/polaris", "description": "Shopify’s product component library", "version": "1.12.2", "private": false, "license": "MIT", "author": "Shopify <dev@shopify.com>", "homepage": "https://github.com/Shopify/polaris#readme", "repository": "https://github.com/Shopify/polaris", "bugs": { "url": "https://github.com/Shopify/polaris/issues" }, "keywords": [ "shopify", "polaris", "react", "components", "component library" ], "main": "index.js", "module": "index.es.js", "jsnext:main": "index.es.js", "types": "types/index.d.ts", "scripts": { "lint:js": "eslint . --max-warnings 0 --format codeframe", "lint:ts": "tslint --config ./config/tslint/full.json './src/**/*.{ts,tsx}' --project tsconfig.json", "lint": "npm-run-all lint:js lint:ts", "ts": "tsc --noEmit", "test": "jest --config ./config/jest/config.json", "test:ci": "yarn run test -- --runInBand", "test:watch": "yarn run test -- --watch", "check": "npm-run-all lint ts test", "check:ci": "npm-run-all lint ts test:ci", "clean": "rimraf build build-esnext esnext styles types docs 'build-intermediate' 'index.*' 'embedded.js' 'styles.{css,scss}'", "optimize": "node ./scripts/optimize.js", "prebuild": "npm-run-all clean optimize", "build": "babel-node ./scripts/build.js", "prebuild-consumer": "npm-run-all build hide-private-readme", "build-consumer": "babel-node ./scripts/build-consumer", "postbuild-consumer": "yarn run show-private-readme", "precdn": "yarn run build", "cdn:secrets": "ejson decrypt -o secrets.json secrets.ejson", "cdn:deploy": "node ./scripts/deploy.js", "cdn": "npm-run-all cdn:secrets cdn:deploy", "public-release:secrets": "ejson decrypt -o secrets.json secrets.ejson", "prepublic-release": "rimraf sandbox && yarn run public-release:secrets", "public-release": "babel-node ./scripts/public-repo-deploy.js", "hide-private-readme": "shx mv README.md ./public/README-private.md && shx mv ./public/README.md ./README.md", "show-private-readme": "shx mv ./README.md ./public/README.md && shx mv ./public/README-private.md ./README.md ", "prepublish": "in-publish && npm-run-all build hide-private-readme || :", "postpublish": "in-publish && npm-run-all cdn show-private-readme public-release || :", "dev": "webpack-dev-server --config playground/webpack.config.js --content-base playground/ --hot --inline", "dev:host": "webpack-dev-server --config playground/webpack.config.js --content-base playground/ --hot --inline --host $(ipconfig getifaddr en0)", "start": "echo \"Warning: no 'start' task specified. Run 'yarn dev' instead.\" && yarn dev" }, "devDependencies": { "@shopify/js-uploader": "github:Shopify/js-uploader", "@types/enzyme": "^2.8.12", "@types/jest": "^21.1.2", "@types/lodash": "^4.14.66", "@types/node": "^8.0.0", "@types/react-hot-loader": "^3.0.1", "archiver": "^2.1.0", "awesome-typescript-loader": "^3.1.3", "aws-sdk": "^2.58.0", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-jest": "^21.2.0", "babel-loader": "^7.1.2", "babel-preset-shopify": "^16.2.0", "change-case": "^3.0.1", "copyfiles": "^1.2.0", "crypto": "^1.0.1", "css-loader": "^0.28.3", "cssnano": "^3.10.0", "enzyme": "^3.1.0", "enzyme-adapter-react-16": "^1.0.1", "eslint": "^4.8.0", "eslint-plugin-shopify": "^19.0.0", "file-loader": "^1.1.5", "fs-extra": "^4.0.2", "generic-names": "^1.0.2", "glob": "^7.1.2", "identity-obj-proxy": "^3.0.0", "image-webpack-loader": "^3.3.1", "in-publish": "^2.0.0", "jest": "^21.2.1", "node-sass": "^4.5.3", "npm-run-all": "^4.0.2", "postcss": "^6.0.1", "postcss-loader": "^2.0.5", "postcss-modules-extract-imports": "^1.1.0", "postcss-modules-local-by-default": "^1.2.0", "postcss-modules-parser": "^1.1.1", "postcss-modules-scope": "^1.1.0", "postcss-modules-values": "^1.3.0", "postcss-shopify": "^1.0.0", "react": "^16.0.0", "react-dom": "^16.0.0", "react-test-renderer": "^16.0.0", "rimraf": "^2.6.1", "rollup": "^0.50.0", "rollup-plugin-babel": "^3.0.2", "rollup-plugin-commonjs": "^8.0.2", "rollup-plugin-json": "^2.1.1", "rollup-plugin-node-resolve": "^3.0.0", "rollup-pluginutils": "^2.0.1", "sass-loader": "^6.0.6", "sass-resources-loader": "^1.2.1", "semver": "^5.4.1", "shelljs": "^0.7.7", "shx": "^0.2.2", "style-loader": "^0.19.0", "svgo": "^0.7.2", "tslint": "^5.8.0", "tslint-config-shopify": "^3.0.1", "typescript": "^2.5.3", "url-loader": "^0.6.2", "webpack": "^3.7.1", "webpack-dev-server": "^2.9.3" }, "peerDependencies": { "react": "^15.3.0 || ^16.0.0", "react-dom": "^15.3.0 || ^16.0.0" }, "files": [ "esnext", "styles", "types", "docs", "index.js", "index.es.js", "styles.css", "styles.scss", "embedded.js", "embedded.d.ts" ], "dependencies": { "@shopify/images": "^1.1.0", "@shopify/javascript-utilities": "^2.1.0", "@shopify/react-utilities": "2.0.0-beta.9", "@types/prop-types": "^15.5.2", "@types/react": "^16.0.2", "@types/react-dom": "^16.0.2", "@types/react-transition-group": "^2.0.6", "babel-runtime": "^6.23.0", "core-js": "^2.5.1", "hoist-non-react-statics": "^2.3.1", "lodash": "^4.17.4", "prop-types": "^15.6.0", "react-transition-group": "^2.2.1", "tslib": "^1.8.0" } }