-
Notifications
You must be signed in to change notification settings - Fork 820
/
package.json
116 lines (116 loc) · 3.94 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
{
"name": "react-sketchapp",
"version": "3.2.6",
"description": "A React renderer for Sketch.app",
"sideEffects": false,
"main": "lib/index.js",
"module": "lib/module/index.js",
"types": "lib/index.d.ts",
"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": [
"lint-staged"
],
"scripts": {
"build": "run-s clean && run-p build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"clean": "trash lib",
"docs:clean": "trash _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 https://github.com/airbnb/react-sketchapp gh-pages && git checkout -b gh-pages && git add . && git commit -am 'update book' && git push https://github.com/airbnb/react-sketchapp gh-pages --force",
"lint-staged": "lint-staged",
"prepublishOnly": "npm run clean && npm run test:ci && npm run build",
"prettier:base": "prettier --write",
"prettify": "npm run prettier:base \"src/**/*.(j|t)sx?\" \"examples/**/*.(j|t)sx?\" \"__tests__/**/*.(j|t)sx?\" \"docs/**/*.md\"",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest --config jest.config.js --no-watchman",
"test:ci": "npm run test:unit -- --runInBand",
"test:e2e": "skpm-test",
"test:update": "npm run test -- --updateSnapshot",
"test:e2e:watch": "npm run test:e2e -- --watch",
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\""
},
"dependencies": {
"@lona/svg-model": "^2.0.0",
"@sketch-hq/sketch-file-format-ts": "4.0.3",
"airbnb-prop-types": "^2.15.0",
"error-stack-parser": "^2.0.6",
"invariant": "^2.2.2",
"js-sha1": "^0.6.0",
"murmur2js": "^1.0.0",
"node-sketch-bridge": "^0.2.0",
"normalize-css-color": "^1.0.1",
"pegjs": "^0.10.0",
"prop-types": "^15.7.2",
"seedrandom": "^3.0.5",
"yoga-layout-prebuilt": "^1.9.5"
},
"peerDependencies": {
"react": "*",
"react-test-renderer": "*"
},
"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,jsx,ts,tsx,md}": "npm run prettier:base"
},
"devDependencies": {
"@skpm/babel-preset": "^0.2.1",
"@skpm/test-runner": "^0.4.1",
"@types/airbnb-prop-types": "^2.13.1",
"@types/invariant": "^2.2.31",
"@types/jest": "^25.2.1",
"@types/node": "^13.13.2",
"@types/pegjs": "^0.10.1",
"@types/react": "^16.9.34",
"@types/react-test-renderer": "^16.9.2",
"@types/seedrandom": "^2.4.28",
"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-github": "^2.0.0",
"gitbook-plugin-prism": "^2.3.0",
"jest": "^25.4.0",
"jest-cli": "^25.4.0",
"lint-staged": "^10.1.7",
"npm-run-all": "^4.1.5",
"pre-commit": "^1.2.2",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-test-renderer": "^16.13.1",
"sketchapp-json-flow-types": "^0.3.6",
"trash-cli": "^3.0.0",
"ts-jest": "^25.4.0",
"typescript": "^3.8.3"
},
"skpm": {
"test": {
"testRegex": "/__tests__/skpm/.*\\.jsx?$"
}
}
}