-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.37 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
{
"name": "react-wait-for",
"version": "1.0.5",
"description": "Waits for a promise to resolve or image to load before rendering and optionally shows loading component.",
"main": "cjs/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"esnext": "es/index.js",
"repository": "https://github.com/jaredLunde/react-wait-for",
"author": "Jared Lunde",
"license": "MIT",
"private": false,
"dependencies": {
"@babel/runtime": "^7.0.0",
"cancelable-promise": "^2.4.0"
},
"devDependencies": {
"@inst-app/babel-preset-esx": "^1.0.2",
"@inst-app/babel-preset-react": "^1.0.0",
"prettier": "^1.14.2"
},
"peerDependencies": {
"prop-types": ">= 15.6.0",
"react": ">= 16.0.0"
},
"scripts": {
"build": "yarn run build:es && yarn run build:cjs",
"build:es": "rm -rf es && cross-env NODE_ENV=production BABEL_ENV=es babel src --out-dir es && npm run prettier:es",
"build:cjs": "rm -rf cjs && cross-env NODE_ENV=production BABEL_ENV=cjs babel src --out-dir cjs && npm run prettier:cjs",
"build-pub": "yarn run build && yarn publish --access public",
"edit": "atom ./",
"prettier:es": "prettier --single-quote --no-semi --no-bracket-spacing --trailing-comma es5 --write \"es/**/*.js\"",
"prettier:cjs": "prettier --single-quote --no-semi --no-bracket-spacing --trailing-comma es5 --write \"cjs/**/*.js\""
}
}