forked from airbnb/react-sketchapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
131 lines (131 loc) Β· 4.26 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
{
"name": "react-sketchapp",
"version": "3.0.0-beta.9",
"description": "A React renderer for Sketch.app",
"main": "lib/index.js",
"license": "MIT",
"author": "Jon Gold <[email protected]> (http://jon.gold)",
"contributors": [
"Ben Wilkins <[email protected]>",
"Leland Richardson <[email protected]>",
"Mathieu Dutour <[email protected]>",
"Jarid Margolin <[email protected]>"
],
"pre-commit": [
"flow",
"lint-staged"
],
"scripts": {
"build:react": "babel src -d lib --ignore **/__mocks__/**",
"build:flow": "flow-copy-source -v -i '**/__tests__/**' src lib",
"build": "npm run build:react && npm run build:flow",
"clean": "rimraf lib react-example.sketchplugin",
"check": "npm run test && npm run flow && npm run lint",
"docs:clean": "rimraf _book",
"docs:prepare": "gitbook install",
"docs:build": "npm run docs:prepare && gitbook build",
"docs:watch": "npm run docs:prepare && gitbook serve",
"docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'update book' && git fetch [email protected]:airbnb/react-sketchapp.git gh-pages && git checkout -b gh-pages && git add . && git commit -am 'update book' && git push [email protected]:airbnb/react-sketchapp.git gh-pages --force",
"flow": "flow",
"lint": "eslint .",
"lint-staged": "lint-staged",
"prepublishOnly": "npm run clean && npm run check && npm run build",
"prettier:base": "prettier --write",
"prettify": "npm run prettier:base \"src/**/*.js\" \"examples/**/*.js\" \"__tests__/**/*.js\" \"docs/**/*.md\"",
"test": "jest --config .jestrc.json",
"test:ci": "jest --config .jestrc.json --runInBand",
"test:e2e": "skpm-test",
"test:update": "npm run test -- --updateSnapshot",
"test:watch": "npm run test -- --watch",
"test:e2e:watch": "npm run test:e2e -- --watch",
"watch": "npm run build:react -- --watch"
},
"dependencies": {
"@skpm/sketchapp-json-plugin": "^0.2.0",
"airbnb-prop-types": "^2.13.2",
"error-stack-parser": "^2.0.2",
"invariant": "^2.2.2",
"js-sha1": "^0.6.0",
"murmur2js": "^1.0.0",
"normalize-css-color": "^1.0.1",
"pegjs": "^0.10.0",
"prop-types": "^15.7.2",
"seedrandom": "^3.0.1",
"sketch-constants": "^1.0.2",
"yoga-layout": "^1.9.3"
},
"peerDependencies": {
"react": "*",
"react-test-renderer": "*"
},
"optionalDependencies": {
"@lona/svg-model": "^1.0.1",
"nodobjc": "^2.1.0"
},
"keywords": [
"sketch",
"sketchapp",
"react",
"reactjs",
"renderer"
],
"repository": {
"type": "git",
"url": "https://github.com/airbnb/react-sketchapp"
},
"bugs": {
"url": "https://github.com/airbnb/react-sketchapp/issues"
},
"homepage": "https://github.com/airbnb/react-sketchapp",
"lint-staged": {
"*.js": [
"npm run prettier:base",
"git add",
"eslint --quiet"
],
"*.md": [
"npm run prettier:base",
"git add"
]
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"@babel/preset-flow": "^7.0.0",
"@lona/svg-model": "^1.0.1",
"@skpm/babel-preset": "^0.2.1",
"@skpm/test-runner": "^0.4.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.2.0",
"eslint-config-sketch": "^0.2.4",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.13.0",
"flow-bin": "^0.98.1",
"flow-copy-source": "^2.0.6",
"gitbook-cli": "^2.3.0",
"gitbook-plugin-anchorjs": "^2.1.0",
"gitbook-plugin-codeblock-disable-glossary": "0.0.1",
"gitbook-plugin-edit-link": "^2.0.2",
"gitbook-plugin-prism": "^2.3.0",
"jest-cli": "^24.8.0",
"lint-staged": "^8.1.6",
"pre-commit": "^1.2.2",
"prettier": "^1.17.1",
"react": "^16.8.6",
"react-test-renderer": "^16.8.6",
"rimraf": "^2.6.3",
"sketchapp-json-flow-types": "^0.3.6"
},
"skpm": {
"test": {
"testRegex": "/__tests__/skpm/.*\\.jsx?$"
}
}
}