Files
polaris-react/package.json
Ben Scott 10b28002de Updating to typescript 3.2.4
The last release of typescript-eslint-parser is 22.0.0 which only
supports up to TS 3.2.x. We're stuck on this because
eslint-plugin-shopify still uses typescript-eslint-parser and has not
yet moved onto its replacement package @typescript-eslint/parser - which
supports TS 3.2.x and above.

Somehow among all this we now get false positives for violations of the
import/named rule. It's fine to disable that as TS will shout at us if
we reference an unknown import anyway.
2019-05-03 11:20:39 +02:00

198 lines
6.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "@shopify/polaris",
"description": "Shopifys product component library",
"version": "3.13.0",
"private": false,
"license": "SEE LICENSE IN LICENSE.md",
"author": "Shopify <dev@shopify.com>",
"homepage": "https://github.com/Shopify/polaris-react#readme",
"repository": "https://github.com/Shopify/polaris-react",
"bugs": {
"url": "https://github.com/Shopify/polaris-react/issues"
},
"publishConfig": {
"access": "public"
},
"sideEffects": [
"**/*.css",
"**/*.scss",
"**/configure.js"
],
"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": "sewing-kit lint",
"format": "sewing-kit format",
"ts": "tsc --noEmit",
"test": "sewing-kit test",
"test:coverage": "yarn test --coverage",
"test:ci": "yarn test --coverage",
"check": "npm-run-all lint ts test",
"check:ci": "npm-run-all lint ts test:ci",
"clean": "rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"",
"clean:build": "rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"",
"optimize": "node ./scripts/optimize.js",
"prebuild": "npm-run-all clean:build optimize copy-polaris-tokens",
"build": "node ./scripts/build.js",
"prebuild-consumer": "yarn run build",
"build-consumer": "node ./scripts/build-consumer",
"build-shrink-ray": "yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js",
"secrets": "ejson decrypt -o secrets.json secrets.ejson",
"precdn": "yarn run build",
"cdn:deploy": "node ./scripts/deploy.js",
"cdn": "npm-run-all secrets cdn:deploy",
"prenew-version-pr-generator": "rimraf sandbox && yarn run secrets",
"new-version-pr-generator": "node ./scripts/new-version-pr-generator",
"copy-polaris-tokens": "rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens",
"prepublish": "in-publish && yarn run build || :",
"postpublish": "in-publish && npm-run-all cdn new-version-pr-generator",
"dev": "npm-run-all copy-polaris-tokens storybook",
"test:percy": "yarn run storybook:build && percy-storybook --build_dir build/storybook/static",
"test:a11y": "yarn run storybook:build && node ./scripts/pa11y.js",
"start": "serve -l ${PORT} -c .storybook/serve.json",
"heroku-postbuild": "yarn run storybook:build",
"readme-update-version": "node ./scripts/readme-update-version",
"version": "yarn run readme-update-version",
"storybook": "start-storybook -p 6006 --quiet",
"storybook:build": "yarn run copy-polaris-tokens && build-storybook -o build/storybook/static"
},
"stylelint": {
"extends": [
"stylelint-config-shopify/prettier"
],
"rules": {
"selector-class-pattern": "^[a-zA-Z][a-zA-Z0-9-]+$",
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": [
"global"
]
}
]
}
},
"browserslist": [
"last 3 chrome versions",
"last 3 chromeandroid versions",
"last 3 firefox versions",
"last 3 opera versions",
"last 2 edge versions",
"safari >= 10",
"ios >= 9"
],
"devDependencies": {
"@babel/core": "^7.1.6",
"@percy/storybook": "^3.0.1",
"@shopify/jest-dom-mocks": "^2.1.1",
"@shopify/js-uploader": "github:shopify/js-uploader",
"@shopify/sewing-kit": "0.69.0",
"@storybook/addon-a11y": "^5.0.6",
"@storybook/addon-actions": "^5.0.6",
"@storybook/addon-backgrounds": "^5.0.6",
"@storybook/addon-console": "^1.1.0",
"@storybook/addon-notes": "^5.0.6",
"@storybook/addon-viewport": "^5.0.6",
"@storybook/react": "^5.0.6",
"@storybook/theming": "^5.0.6",
"@types/enzyme": "^3.1.14",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/lodash": "^4.14.108",
"@types/node": "^11.13.8",
"archiver": "^3.0.0",
"aws-sdk": "^2.58.0",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "^8.0.5",
"babel-preset-shopify": "^17.0.1",
"chalk": "^2.4.2",
"change-case": "^3.1.0",
"codecov": "^3.3.0",
"copyfiles": "^2.1.0",
"cssnano": "^4.1.10",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"fs-extra": "^7.0.1",
"generic-names": "^2.0.1",
"glob": "^7.1.3",
"gray-matter": "^4.0.2",
"in-publish": "^2.0.0",
"isomorphic-fetch": "^2.2.1",
"js-yaml": "^3.13.1",
"marked": "^0.6.2",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"object-hash": "^1.3.1",
"pa11y": "^5.1.0",
"postcss": "^7.0.14",
"postcss-modules-extract-imports": "^2.0.0",
"postcss-modules-local-by-default": "^2.0.6",
"postcss-modules-parser": "^1.1.1",
"postcss-modules-scope": "^2.1.0",
"postcss-modules-values": "^2.0.0",
"postcss-shopify": "^2.2.1",
"puppeteer": "^1.15.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-test-renderer": "^16.3.1",
"rimraf": "^2.6.3",
"rollup": "^1.10.1",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-pluginutils": "^2.6.0",
"semver": "^6.0.0",
"serve": "^11.0.0",
"shelljs": "^0.8.3",
"shx": "^0.3.2",
"svgo": "^1.2.2",
"typescript": "~3.2.4",
"yargs": "^13.2.2"
},
"peerDependencies": {
"react": "^16.3.1",
"react-dom": "^16.3.1"
},
"resolutions": {
"typescript-eslint-parser": "22.0.0"
},
"files": [
"esnext",
"styles",
"types",
"docs",
"index.js",
"index.es.js",
"styles.css",
"styles.scss"
],
"dependencies": {
"@babel/runtime": "^7.1.6",
"@shopify/app-bridge": "^1.3.0",
"@shopify/images": "^1.1.0",
"@shopify/javascript-utilities": "^2.2.1",
"@shopify/polaris-icons": "^3.3.0",
"@shopify/polaris-tokens": "^2.5.0",
"@shopify/react-compose": "^1.0.0",
"@shopify/react-utilities": "^2.0.4",
"@shopify/useful-types": "^1.2.4",
"@types/react": "^16.4.7",
"@types/react-dom": "^16.0.6",
"@types/react-transition-group": "^2.0.7",
"hoist-non-react-statics": "^2.5.0",
"lodash": "^4.17.4",
"prop-types": "^15.6.1",
"react-transition-group": "^2.4.0",
"tslib": "^1.9.3"
}
}