-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathpackage.json
128 lines (128 loc) · 3.54 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
{
"name": "react-paper-bindings",
"description": "Paper.js bindings for React",
"author": "Bojan Hribernik <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/react-paper/react-paper-bindings",
"repository": {
"type": "git",
"url": "https://github.com/react-paper/react-paper-bindings.git"
},
"bugs": {
"url": "https://github.com/react-paper/react-paper-bindings/issues"
},
"files": [
"lib"
],
"main": "lib/index.js",
"scripts": {
"start": "NODE_ENV=development babel src -w -d lib",
"build:lib": "NODE_ENV=production babel src -d lib",
"build:flow": "NODE_ENV=production flow-copy-source -v src lib",
"build": "yarn build:lib && yarn build:flow",
"lint": "NODE_ENV=development eslint src/**",
"format": "prettier --trailing-comma es5 --no-semi --single-quote --write \"src/**/*.js\"",
"test": "jest --env=jsdom",
"prepublish": "yarn build",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
},
"dependencies": {
"fbjs": "^1.0.0",
"paper": "^0.11.8",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-reconciler": "^0.16.0",
"scheduler": "^0.10.0"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "=9.0.0",
"babel-jest": "^23.6.0",
"canvas": "^1.3.5",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"eslint": "=5.6.0",
"eslint-plugin-flowtype": "^3.0.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.8.2",
"flow-bin": "^0.84.0",
"flow-copy-source": "^2.0.2",
"jest": "^23.6.0",
"jsdom": "^9.4.0",
"prettier": "^1.13.3",
"semantic-release": "^15.10.5",
"sinon": "^7.1.0",
"travis-deploy-once": "^5.0.0"
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/test/setup.js",
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}",
"<rootDir>/test/**/?(*.)(spec|test).{js,jsx,mjs}"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
],
"testPathIgnorePatterns": [
"<rootDir>[/\\\\](__test|__test2|demo|node_modules)[/\\\\]"
],
"modulePathIgnorePatterns": [
"<rootDir>[/\\\\](__test|__test2|demo|node_modules)[/\\\\]"
],
"moduleDirectories": [
"<rootDir>/node_modules",
"<rootDir>/src"
]
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"settings": {
"react": {
"createClass": "createReactClass",
"pragma": "React",
"version": "16.6.0",
"flowVersion": "0.84.0"
}
},
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true
},
"rules": {
"semi": 0,
"strict": 0,
"no-console": 0,
"no-unused-vars": [
"warn",
{
"args": "none",
"ignoreRestSiblings": true
}
]
}
},
"eslintIgnore": [
"/node_modules/"
]
}