Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 4.06 KB
/
Copy pathpackage.json
File metadata and controls
139 lines (139 loc) · 4.06 KB
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
138
139
{
"name": "react-sketch2",
"version": "0.5.7",
"description": "Sketch Element for React based applications, backed-up by fabricjs as its core",
"keywords": [
"react",
"canvas",
"sketch",
"fabricjs",
"fabric.js"
],
"author": {
"name": "X5Engine",
"email": "Contact@x5engine.com"
},
"repository": {
"type": "git",
"url": "https://github.com/x5engine/react-sketch.git"
},
"bugs": {
"url": "https://github.com/x5engine/react-sketch/issues"
},
"license": "MIT",
"main": "./dist",
"types": "./types/index.d.ts",
"scripts": {
"build": "cross-env NODE_ENV=production webpack --mode production --config webpack/library.cfg.js --display-modules",
"build:light": "babel ./src --out-dir ./dist",
"build:examples": "cross-env NODE_ENV=production webpack --mode production --config webpack/examples.cfg.js",
"clean": "rimraf dist build",
"lint": "eslint ./src",
"lint:fix": "eslint --fix ./src",
"precommit": "lint-staged",
"prepublish": "npm run build",
"prebuild": "rimraf dist",
"start": "node webpack/server.js",
"start:debug": "weinre --boundHost `my-local-ip` ",
"test": "jest --coverage"
},
"engines": {
"node": ">= 8"
},
"lint-staged": {
"*.{js,jsx,css,md}": [
"eslint --fix",
"git add"
]
},
"jest": {
"automock": false,
"testEnvironment": "jest-environment-jsdom",
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
},
"transform": {
"^.+\\.(js|jsx)$": "babel-jest"
},
"testRegex": "./test/.*.jsx?$",
"setupTestFrameworkScriptFile": "<rootDir>/jest.setup.js",
"moduleFileExtensions": [
"js",
"json",
"jsx"
]
},
"resolutions": {
"babel-core": "7.0.0-bridge.0"
},
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "7.1.5",
"@babel/plugin-proposal-class-properties": "7.1.0",
"@babel/plugin-proposal-decorators": "7.1.2",
"@babel/plugin-proposal-export-namespace-from": "7.0.0",
"@babel/plugin-proposal-function-sent": "7.1.0",
"@babel/plugin-proposal-json-strings": "7.0.0",
"@babel/plugin-proposal-numeric-separator": "7.0.0",
"@babel/plugin-proposal-throw-expressions": "7.0.0",
"@babel/plugin-syntax-dynamic-import": "7.0.0",
"@babel/plugin-syntax-import-meta": "7.0.0",
"@babel/plugin-transform-runtime": "7.1.0",
"@babel/polyfill": "7.0.0",
"@babel/preset-env": "7.1.5",
"@babel/preset-react": "7.0.0",
"@babel/register": "7.0.0",
"@babel/runtime": "7.1.5",
"@material-ui/core": "^3.4.0",
"@material-ui/icons": "^3.0.1",
"@material-ui/lab": "^3.0.0-alpha.23",
"babel-core": "7.0.0-beta.3",
"babel-eslint": "10.0.1",
"babel-jest": "23.6.0",
"babel-loader": "8.0.4",
"babel-plugin-lodash": "3.3.4",
"canvas": "^2.6.0",
"cross-env": "^5.2.0",
"css-loader": "^1.0.1",
"enzyme": "3.7.0",
"enzyme-adapter-react-16": "1.7.0",
"eslint": "5.8.0",
"eslint-config-airbnb": "17.1.0",
"eslint-loader": "2.1.1",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jest": "22.0.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.11.1",
"eslint-watch": "4.0.2",
"fabric": "^3.5.1",
"flexboxgrid": "^6.3.1",
"html-webpack-plugin": "^3.2.0",
"jasmine-core": "^3.3.0",
"jest": "23.6.0",
"jest-environment-jsdom": "^23.4.0",
"jest-enzyme": "7.0.1",
"jsdom": "^13.0.0",
"lint-staged": "8.0.4",
"my-local-ip": "^1.0.0",
"open": "0.0.5",
"open-browser-webpack-plugin": "0.0.5",
"postcss-loader": "^3.0.0",
"react-color": "^2.14.1",
"react-dropzone": "7.0.1",
"react-hot-loader": "^4.3",
"react-test-renderer": "^16.6.1",
"react-transform-hmr": "^1.0.4",
"rimraf": "^2.6.2",
"style-loader": "^0.23.1",
"uglifyjs-webpack-plugin": "^2.0.1",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10",
"weinre": "^2.0.0-pre-I0Z7U9OV"
},
"dependencies": {
"prop-types": "^15.6.2",
"react": "^16.6.1",
"react-dom": "^16.6.1"
}
}