-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.89 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
{
"name": "react-native-web-sketch-boilerplate",
"author": "",
"license": "ISC",
"version": "1.0.0",
"description": "",
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
"dependencies": {
"auth0-js": "^8.12.2",
"expo": "^24.0.2",
"express": "^4.16.2",
"react": "^16.0.0",
"react-dom": "^16.2.0",
"react-native": "^0.51.0",
"react-native-web": "^0.4.0",
"react-sketchapp": "^1.0.0"
},
"devDependencies": {
"@skpm/builder": "^0.3.1",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-loader": "^7.1.3",
"babel-plugin-react-native-web": "^0.5.1",
"babel-plugin-transform-function-bind": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-preset-react-native": "^4.0.0",
"canvas-prebuilt": "^1.6.5-prerelease.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.18.2",
"eslint-config-react-native": "^2.0.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-flowtype": "^2.44.0",
"eslint-plugin-jest": "^21.7.0",
"flow-bin": "^0.65.0",
"flow-typed": "^2.3.0",
"html-webpack-plugin": "^2.30.1",
"husky": "^0.15.0-rc.6",
"jest-cli": "^22.1.4",
"lint-staged": "^6.1.0",
"prop-types": "^15.6.0",
"react-hot-loader": "^3.1.3",
"react-native-scripts": "^1.9.0",
"react-test-renderer": "^16.2.0",
"webpack": "^3.10.0",
"webpack-dev-middleware": "^2.0.5",
"webpack-dev-server": "^2.11.0",
"webpack-hot-middleware": "^2.21.0",
"webpack-merge": "^4.1.1"
},
"scripts": {
"native:start": "react-native-scripts start",
"native:eject": "react-native-scripts eject",
"android": "react-native-scripts android",
"ios": "react-native-scripts ios",
"sketch": "skpm-build --watch --run",
"sketch:build": "skpm-build",
"sketch:watch": "skpm-build --watch",
"sketch:render:once": "skpm-build --run",
"test:web": "BABEL_ENV=test:web jest --config=./test/jest.config.web.js",
"test:native": "BABEL_ENV=test:native jest --config=./test/jest.config.native.js",
"webpack": "webpack-dev-server --config ./web/webpack.dev-server.js --open --inline --hot",
"webpack:build": "webpack --config ./web/webpack.dev-server.js",
"express": "export PORT=3000 && babel-node server/index.js",
"lint": "eslint .",
"precommit": "lint-staged",
"flow": "flow"
},
"lint-staged": {
"*.js": [
"flow focus-check",
"eslint --config ./.eslintrc.precommit",
"npm run test:native -- --bail --findRelatedTests",
"npm run test:web -- --bail --findRelatedTests"
]
},
"skpm": {
"main": "react-native-web-sketch-boilerplate.sketchplugin",
"manifest": "sketch/manifest.json"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit"
}
}
}