package.json 3.22 KB
Newer Older
Constantin's avatar
Constantin committed
1 2
{
  "name": "ui-kit",
Constantin's avatar
Constantin committed
3
  "version": "0.7.3",
Constantin's avatar
Constantin committed
4
  "private": true,
5
  "main": "dist/index.js",
Constantin's avatar
Constantin committed
6
  "scripts": {
y.troniak's avatar
y.troniak committed
7
    "start": "npm-run-all -p watch-css storybook",
Constantin's avatar
Constantin committed
8
    "build": "react-scripts build",
Constantin's avatar
Constantin committed
9
    "test": "yarn test:unit",
10
    "test:unit": "yarn run jest -c test/unit/support/jest.config.js",
Andriy Vengrynovych's avatar
Andriy Vengrynovych committed
11
    "jest:visual": "jest -c test/visual/jest.config.js",
12
    "jest:visual-update": "jest -c test/visual/jest.config.js -u",
Andriy Vengrynovych's avatar
Andriy Vengrynovych committed
13
    "test:visual": "start-server-and-test storybook http-get://localhost:9009 jest:visual",
Constantin's avatar
Constantin committed
14
    "eject": "react-scripts eject",
y.troniak's avatar
y.troniak committed
15 16
    "build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
    "watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
Constantin's avatar
Constantin committed
17
    "storybook": "start-storybook -p 9009 -s public",
18
    "build-storybook": "build-storybook -s public",
Constantin's avatar
Constantin committed
19 20 21
    "build-ui": "./node_modules/.bin/webpack --mode=production",
    "css-lint": "sass-lint -v -q",
    "css-lint-fix": "sass-lint -v -q --fix",
Constantin's avatar
Constantin committed
22
    "pretify": "prettier --single-quote --write",
23
    "preversion": "yarn build-css && yarn build-ui && git add ./dist/* && yarn test:unit",
Constantin's avatar
Constantin committed
24
    "postversion": "git push --tags && git push && echo \"Successfully released version $npm_package_version!\""
Constantin's avatar
Constantin committed
25 26 27 28 29 30 31 32 33 34
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ],
35
  "dependencies": {
Constantin's avatar
Constantin committed
36
    "babel-loader": "^8.0.6",
Constantin's avatar
Constantin committed
37
    "env-variable": "^0.0.6",
Constantin's avatar
Constantin committed
38 39 40 41 42
    "react": "^16.12.0",
    "react-collapsible": "^2.6.2",
    "react-dom": "^16.12.0",
    "react-lazyload": "^2.6.5",
    "react-slick": "^0.25.2",
tronyak's avatar
tronyak committed
43
    "remove": "^0.1.5"
44 45 46 47 48 49
  },
  "peerDependencies": {
    "react": "^16.2.0",
    "react-dom": "^16.2.0"
  },
  "devDependencies": {
Constantin's avatar
Constantin committed
50 51 52 53 54 55 56 57 58 59 60 61
    "@babel/core": "^7.7.5",
    "@babel/plugin-proposal-class-properties": "^7.7.4",
    "@babel/plugin-syntax-dynamic-import": "^7.7.4",
    "@babel/preset-env": "^7.7.6",
    "@babel/preset-react": "^7.7.4",
    "@storybook/addon-actions": "^5.2.8",
    "@storybook/addon-info": "^5.2.8",
    "@storybook/addon-knobs": "^5.2.8",
    "@storybook/addon-links": "^5.2.8",
    "@storybook/addon-viewport": "^5.2.8",
    "@storybook/addons": "^5.2.8",
    "@storybook/react": "^5.2.8",
62
    "add": "^2.0.6",
y.troniak's avatar
y.troniak committed
63
    "babel-core": "^6.26.3",
Constantin's avatar
Constantin committed
64 65 66
    "css-loader": "^3.3.0",
    "enzyme": "^3.10.0",
    "enzyme-adapter-react-16": "^1.15.1",
Constantin's avatar
Constantin committed
67
    "jest": "^25.1.0",
Constantin's avatar
Constantin committed
68 69
    "jest-image-snapshot": "^2.11.1",
    "jest-puppeteer": "^4.3.0",
Constantin's avatar
Constantin committed
70 71
    "lint-staged": "^10.0.7",
    "mini-css-extract-plugin": "^0.9.0",
Constantin's avatar
Constantin committed
72 73
    "node-sass": "^4.13.0",
    "node-sass-chokidar": "^1.4.0",
y.troniak's avatar
y.troniak committed
74
    "npm-run-all": "^4.1.3",
Constantin's avatar
Constantin committed
75
    "parcel-bundler": "^1.12.4",
76
    "postcss-loader": "^3.0.0",
Constantin's avatar
Constantin committed
77
    "prettier": "^1.19.1",
Constantin's avatar
Constantin committed
78
    "prop-types": "^15.6.1",
Constantin's avatar
Constantin committed
79 80 81 82
    "puppeteer": "^2.0.0",
    "react-inlinesvg": "^1.2.0",
    "react-router": "^5.1.2",
    "react-router-dom": "^5.1.2",
Constantin's avatar
Constantin committed
83
    "react-scripts": "3.4.0",
Constantin's avatar
Constantin committed
84 85
    "resolve-url-loader": "^3.1.1",
    "sass-lint": "^1.13.1",
Constantin's avatar
Constantin committed
86
    "sass-lint-fix": "^1.12.1",
Constantin's avatar
Constantin committed
87 88 89 90 91 92 93
    "sass-loader": "^8.0.0",
    "start-server-and-test": "^1.10.6",
    "style-loader": "^1.0.1",
    "url-loader": "^3.0.0",
    "webpack": "^4.41.2",
    "webpack-cli": "^3.3.10",
    "webpack-node-externals": "^1.7.2"
Constantin's avatar
Constantin committed
94 95
  }
}