This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
137 lines (137 loc) · 4.49 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
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "@wuweiweiwu/react-shopify-draggable",
"version": "0.0.5",
"main": "dist/main.js",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wuweiweiwu/react-shopify-draggable.git"
},
"author": {
"name": "Wei-Wei Wu",
"email": "hello@weiweiwu.me",
"url": "https://github.com/wuweiweiwu"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/wuweiweiwu/react-shopify-draggable/issues"
},
"keywords": [
"draggable",
"react",
"component",
"shopify",
"flow",
"context",
"classnames"
],
"homepage": "https://github.com/wuweiweiwu/react-shopify-draggable#readme",
"scripts": {
"build": "npm run clean && cross-env NODE_ENV=production TARGET=umd webpack --bail",
"build:demo": "npm run clean:demo && cross-env NODE_ENV=production TARGET=demo webpack --bail && npm run build-storybook",
"clean": "rimraf dist",
"clean:demo": "rimraf build",
"start": "cross-env NODE_ENV=development TARGET=development webpack-dev-server --inline --hot",
"lint": "./node_modules/.bin/eslint src",
"prettier": "prettier --single-quote --trailing-comma es5 --write \"{src,examples}/**/*.{js,scss}\"",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"test": "jest",
"test:watch": "jest --watchAll",
"test:coverage": "jest --coverage && ./cc-test-reporter after-build --id=\"YOUR_REPORTER_ID_HERE\"",
"deploy": "npm run build:demo && gh-pages -d build",
"storybook": "cross-env TARGET=development start-storybook -p ${PORT:-3001} -h 0.0.0.0",
"build-storybook": "cross-env NODE_ENV=production TARGET=demo build-storybook -o build/storybook",
"flow": "flow",
"flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true",
"postinstall": "npm run flow-typed"
},
"jest": {
"setupTestFrameworkScriptFile": "./node_modules/jest-enzyme/lib/index.js",
"setupFiles": [
"./test-config/shim.js",
"./test-config/test-setup.js"
],
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss|less)$": "identity-obj-proxy"
}
},
"peerDependencies": {
"react": "^15.3.0 || ^16.0.0",
"react-dom": "^15.3.0 || ^16.0.0"
},
"dependencies": {
"@shopify/draggable": "^1.0.0-beta.4",
"classnames": "^2.2.5",
"hyphenate-style-name": "^1.0.2",
"lodash": "^4.17.5",
"prop-types": "^15.6.0"
},
"devDependencies": {
"@storybook/addon-actions": "^3.3.14",
"@storybook/addon-notes": "^3.3.14",
"@storybook/addon-options": "^3.3.14",
"@storybook/addon-storyshots": "^3.3.14",
"@storybook/react": "^3.3.14",
"autoprefixer": "^8.0.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^22.4.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"cross-env": "^5.1.3",
"css-loader": "^0.28.9",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.18.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-airbnb-flow": "^1.0.2",
"eslint-config-prettier": "^2.9.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-flowtype": "^2.46.1",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.9",
"flow-bin": "^0.66.0",
"flow-typed": "^2.3.0",
"gh-pages": "^1.1.0",
"html-webpack-plugin": "^2.30.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^22.4.0",
"jest-enzyme": "^4.2.0",
"json-loader": "^0.5.7",
"node-sass": "^4.7.2",
"postcss-loader": "^2.1.0",
"prettier": "^1.10.2",
"react": "^16.2.0",
"react-addons-shallow-compare": "^15.6.2",
"react-dom": "^16.2.0",
"react-hot-loader": "^3.1.3",
"react-router-dom": "^4.2.2",
"react-test-renderer": "^16.2.0",
"rimraf": "^2.6.2",
"sass-loader": "^6.0.6",
"style-loader": "^0.20.2",
"webpack": "^3.11.0",
"webpack-dev-server": "^2.11.1",
"webpack-node-externals": "^1.6.0"
}
}