-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
executable file
·43 lines (43 loc) · 1.36 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
{
"name": "datafox",
"description": "Datafox is a small decorator for fetching your API data, asynchronously binding the data to your (P)React component or Javascript class.",
"version": "1.1.0",
"repository": {
"type": "git",
"url": "https://github.com/mjanssen/datafox.git"
},
"main": "index.js",
"files": ["index.js", "vanilla.js"],
"prettier": {
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 100
},
"author": {
"name": "Marnix Janssen",
"email": "[email protected]",
"url": "https://github.com/mjanssen"
},
"scripts": {
"build": "npm-run-all build:main build:vanilla",
"build:main": "rollup -i ./src/index.js -o ./index.js -f cjs -c rollup.config.js && gzip-size ./index.js",
"build:vanilla": "rollup -i ./src/vanilla.js -o ./vanilla.js -f cjs -c rollup.config.js && gzip-size ./vanilla.js"
},
"dependencies": {
"unfetch": "3.0.0"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
"gzip-size-cli": "^2.1.0",
"npm-run-all": "^4.1.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"rollup": "^0.55.1",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-uglify": "^3.0.0"
}
}