-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
125 lines (125 loc) · 4.13 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "react-ds",
"version": "1.13.0",
"description": "Simple React Drag-to-Select component",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"install:example": "cd example/app && npm install",
"build": "npm run build:clean && cross-env NODE_ENV=production npm run build:dist && npm run build:flow && npm run build:minify",
"build:dev": "npm run build:clean && cross-env NODE_ENV=production npm run build:dist && npm run build:flow",
"build:clean": "rimraf dist",
"build:dist": "babel -d dist src --ignore '**/__tests__/**'",
"build:flow": "flow-copy-source -v -i '**/__tests__/**' src dist",
"build:minify": "./node_modules/.bin/uglifyjs dist/index.js -o dist/index.js",
"lint": "npm run lint:js",
"lint:eslint": "eslint",
"lint:js": "npm run lint:eslint -- . ",
"lint:fix": "npm run lint:eslint -- --fix . ",
"lint:staged": "lint-staged && npm run flow",
"pretest": "npm run test:clean && npm run lint && npm run flow",
"test:clean": "rimraf ./coverage",
"test": "cross-env NODE_ENV=test jest --coverage",
"test:watch": "cross-env NODE_ENV=test jest --watchAll",
"flow": "flow status",
"changelog": "github_changelog_generator -u aurbano -p react-ds",
"start": "cd example/app && npm start",
"deploy": "cd example/app && npm run build && gh-pages -d build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aurbano/react-ds.git"
},
"keywords": [
"react",
"select",
"drag",
"component",
"library",
"items",
"selection"
],
"author": "Alejandro U. Alvarez",
"license": "MIT",
"bugs": {
"url": "https://github.com/aurbano/react-ds/issues"
},
"homepage": "https://github.com/aurbano/react-ds#readme",
"peerDependencies": {
"react": "^16.3"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.3",
"babel-eslint": "8.2.2",
"babel-jest": "^23.0.0-alpha.0",
"babel-plugin-dynamic-import-node": "^1.2.0",
"babel-plugin-flow-react-proptypes": "^12.1.0",
"babel-plugin-flow-runtime": "^0.17.0",
"babel-plugin-react-intl": "^2.4.0",
"babel-plugin-react-transform": "3.0.0",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-constant-elements": "^6.23.0",
"babel-plugin-transform-react-inline-elements": "^6.22.0",
"babel-plugin-transform-react-jsx-source": "^6.22.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-preset-env": "^1.7.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"codacy-coverage": "^2.1.0",
"coveralls": "^3.0.8",
"cross-env": "^5.2.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"eslint": "^4.19.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-flowtype": "^2.46.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.16.0",
"flow-bin": "^0.112.0",
"flow-copy-source": "^1.3.0",
"flow-runtime": "^0.17.0",
"gh-pages": "^1.1.0",
"gulp": "^3.9.1",
"jasmine": "^3.5.0",
"jasmine-reporters": "^2.3.2",
"jest": "^22.4.2",
"jest-cli": "^23.0.0-alpha.0",
"lint-staged": "^9.4.3",
"lodash": "^4.17.15",
"pre-commit": "^1.2.2",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"rimraf": "^2.6.2",
"sinon": "^4.4.6",
"uglify-es": "^3.3.9"
},
"lint-staged": {
"*.js": "npm run lint:eslint"
},
"pre-commit": "lint:staged",
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"moduleDirectories": [
"node_modules",
"src"
],
"unmockedModulePathPatterns": [
"./node_modules/react",
"./node_modules/react-addons-test-utils",
"./node_modules/jasmine-reporters"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/util/test-bundler.js",
"testRegex": ".*\\.test\\.js$"
}
}