-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 3.18 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
{
"name": "set-future-state",
"version": "0.3.0",
"description": "Safely setState in the future",
"main": "lib/set-future-state.js",
"module": "lib/set-future-state.esm.js",
"esnext": "lib/set-future-state.esm.js",
"react-native": "lib/set-future-state.esm.js",
"files": [
"lib"
],
"engines": {
"node": ">=6"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"runkitExample": "const withFutureState = require('set-future-state')",
"scripts": {
"lint": "eslint .",
"pretest:lib": "yarn build",
"test:lib": "jest --silent --config=\"{\\\"moduleNameMapper\\\":{\\\"^./set-future-state$\\\":\\\"<rootDir>/lib/set-future-state\\\"}}\"",
"test": "jest --silent --coverage",
"posttest": "jest-coverage-ratchet",
"test:all": "export BABEL_ENV=es5 yarn lint && yarn run flow check && yarn test && yarn run test:lib",
"build:es5": "BABEL_ENV=es5 babel src/set-future-state.js --out-file lib/set-future-state.js",
"build:es6": "BABEL_ENV=es6 babel src/set-future-state.js --out-file lib/set-future-state.esm.js",
"prebuild": "mkdir -p lib",
"build": "yarn build:es5 && yarn build:es6",
"postbuild": "cp src/set-future-state.js.flow lib",
"prepare": "yarn build",
"release": "release-it"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Leeds-eBooks/set-future-state.git"
},
"keywords": [
"javascript",
"react",
"react-native",
"setState",
"future",
"promise",
"cancellation"
],
"author": "benstyles",
"license": "MIT",
"bugs": {
"url": "https://github.com/Leeds-eBooks/set-future-state/issues"
},
"homepage": "https://github.com/Leeds-eBooks/set-future-state#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^23.0.1",
"babel-plugin-add-module-exports": "^0.3.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"eslint": "^5.0.1",
"eslint-config-mealsup": "^2.5.2",
"eslint-plugin-babel": "^5.0.0",
"eslint-plugin-eslint-comments": "^3.0.1",
"eslint-plugin-flowtype": "^2.46.1",
"eslint-plugin-fp": "^2.3.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jest": "^21.15.0",
"eslint-plugin-react": "^7.7.0",
"eslint-plugin-react-native": "^3.2.1",
"flow-bin": "^0.77.0",
"flow-remove-types": "^1.2.3",
"flow-typed": "^2.4.0",
"jest": "^22.4.3",
"jest-coverage-ratchet": "^0.2.3",
"react": "^16.0.0",
"react-test-renderer": "^16.2.0",
"release-it": "^7.2.1"
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": false,
"semi": false,
"jsxBracketSameLine": true
},
"jest": {
"coverageReporters": [
"json",
"lcov",
"json-summary"
],
"coverageThreshold": {
"global": {
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 85
}
}
},
"dependencies": {
"fluture": "^9.0.1",
"recompose": "^0.28.1"
},
"peerDependencies": {
"react": "^16.0.0"
}
}