forked from renatorib/react-powerplug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 3.07 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
{
"name": "react-powerplug",
"version": "1.0.0-alpha.7",
"description": "Give life to your dumb components",
"author": "Renato Ribeiro (http://github.com/renatorib)",
"license": "MIT",
"main": "dist/react-powerplug.cjs.js",
"module": "dist/react-powerplug.esm.js",
"files": [
"dist",
"src"
],
"scripts": {
"build:flow": "echo \"// @flow\n\nexport * from '../src'\" > dist/react-powerplug.cjs.js.flow",
"build:code": "cross-env NODE_ENV=code rollup -c",
"build": "npm run clean && npm run build:code && npm run build:flow",
"clean": "rimraf dist",
"typecheck:flow": "flow check --max-warnings=0",
"lint": "eslint src test",
"test:only": "jest",
"test:umd": "jest --setupTestFrameworkScriptFile ./tests/jestUMDSetup.js",
"test:cjs": "jest --setupTestFrameworkScriptFile ./tests/jestCJSSetup.js",
"test": "npm run build && npm run lint && jest && npm run test:umd && npm run test:cjs",
"precommit": "lint-staged",
"prepublishOnly": "npm run clean && npm run build",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
},
"lint-staged": {
"*.{js,md}": [
"prettier --write",
"git add"
]
},
"jest": {
"globalSetup": "jest-environment-puppeteer/setup",
"globalTeardown": "jest-environment-puppeteer/teardown",
"transformIgnorePatterns": [
"/node_modules/",
"/dist/"
]
},
"repository": {
"type": "git",
"url": "https://github.com/renatorib/react-powerplug.git"
},
"keywords": [
"react",
"reactjs",
"components",
"dumb",
"state"
],
"bugs": {
"url": "https://github.com/renatorib/react-powerplug/issues"
},
"homepage": "https://github.com/renatorib/react-powerplug",
"dependencies": {
"@babel/runtime": "7.0.0-beta.49"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.49",
"@babel/core": "^7.0.0-beta.49",
"@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.49",
"@babel/plugin-transform-runtime": "^7.0.0-beta.49",
"@babel/preset-env": "^7.0.0-beta.49",
"@babel/preset-react": "^7.0.0-beta.49",
"@babel/preset-stage-3": "^7.0.0-beta.49",
"all-contributors-cli": "^4.11.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^23.0.0",
"cross-env": "^5.0.5",
"eslint": "^4.6.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-react": "^7.3.0",
"flow-bin": "^0.66.0",
"husky": "^0.14.3",
"jest": "^23.0.0",
"jest-environment-node": "^23.0.0",
"jest-environment-puppeteer": "^2.4.0",
"lint-staged": "^6.0.0",
"prettier": "^1.10.2",
"puppeteer": "^1.4.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"rimraf": "^2.6.1",
"rollup": "^0.59.3",
"rollup-plugin-babel": "^4.0.0-beta.4",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-size-snapshot": "^0.5.1",
"rollup-plugin-uglify": "^4.0.0"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-0"
}
}