-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
99 lines (99 loc) · 3.43 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "react-select3",
"version": "4.0.1",
"description": "<Select> component made with ReactJS",
"browser": "dist/react-select3.umd.js",
"main": "dist/react-select3.cjs.js",
"module": "dist/react-select3.esm.js",
"repository": "https://github.com/RusinovAnton/react-select3.git",
"scripts": {
"start": "npm run dev",
"prepublish": "npm run test && npm run lint && npm run build",
"build": "npm-run-all -p build:*",
"build:css": "npm-run-all css:scss-compile css:postcss",
"build:js": "NODE_ENV=production rollup -c",
"css:postcss":
"npx postcss dist/*.css --dir dist --use autoprefixer cssnano --map dist",
"css:scss-compile":
"npx node-sass --include-path ./src/styles ./src/styles -o dist",
"dev": "npm-run-all -p dev:*",
"dev:css": "npm run css:scss-compile -- --w",
"dev:js": "NODE_ENV=development rollup -c -w",
"format": "prettier --write './**/*.{js,jsx,json,md}'",
"lint": "npm-run-all -p lint:*",
"lint:css": "npx sass-lint -v -q --max-warnings 10",
"lint:js": "NODE_ENV=test npx eslint --fix ./src/**/*.js",
"precommit": "lint-staged",
"test": "npm-run-all -p test:*",
"test:js": "NODE_ENV=test jest",
"test:eslint-prettier":
"eslint --print-config .eslintrc.js | eslint-config-prettier-check"
},
"jest": {
"moduleNameMapper": {
"^.+\\.(css|scss)$": "identity-obj-proxy"
},
"setupFiles": ["./test-setup/shims.js", "./test-setup/.jestrc.js"],
"snapshotSerializers": ["<rootDir>/node_modules/enzyme-to-json/serializer"]
},
"keywords": ["select", "react-component", "ajax", "fetch"],
"author": "Rusinov Anton",
"license": "MIT",
"dependencies": {
"classnames": "^2.2.5",
"lodash": "^4.17.2",
"prop-types": "^15.6.0",
"qs": "^6.3.0",
"react": "^16.1.0",
"react-dom": "^16.1.0"
},
"devDependencies": {
"autoprefixer": "^7.1.6",
"babel-eslint": "^8.0.2",
"babel-jest": "^21.2.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-function-bind": "^6.8.0",
"babel-plugin-transform-react-constant-elements": "^6.9.1",
"babel-plugin-transform-react-inline-elements": "^6.8.0",
"babel-preset-es2015": "^6.16.0",
"babel-preset-latest": "^6.24.1",
"babel-preset-react": "^6.16.0",
"babel-preset-react-optimize": "^1.0.1",
"babel-preset-stage-0": "^6.16.0",
"cssnano": "^3.10.0",
"del": "^2.2.2",
"enzyme": "^3.1.1",
"enzyme-adapter-react-16": "^1.0.4",
"enzyme-to-json": "^3.2.2",
"eslint": "^4.11.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-loader": "^1.5.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-prettier": "^2.4.0",
"eslint-plugin-react": "^7.4.0",
"husky": "^0.14.3",
"jest": "^21.2.1",
"lint-staged": "^6.0.0",
"node-sass": "^4.6.0",
"npm-run-all": "^4.0.2",
"npx": "^9.7.1",
"postcss-cli": "^4.1.0",
"prettier": "^1.9.2",
"react-addons-test-utils": "^15.6.2",
"react-stub-context": "^0.8.1",
"react-test-renderer": "^16.1.0",
"rollup": "^0.51.3",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-watch": "^4.3.1",
"sass-lint": "^1.12.1",
"sinon": "^4.1.2"
},
"lint-staged": {
"*.{js,jsx,json,md}": ["prettier --write", "git add"]
}
}