-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.57 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
{
"name": "react-memory",
"version": "0.0.9",
"description": "Simple centralized store for react",
"source": "src/index.js",
"module": "dist/memory.es.js",
"main": "dist/memory.js",
"umd:main": "dist/memory.umd.js",
"scripts": {
"dev": "microbundle watch --compress=false",
"build": "npm-run-all --silent -p build:main -s size",
"build:main": "microbundle",
"size": "strip-json-comments --no-whitespace dist/memory.js | gzip-size && bundlesize",
"docs": "documentation readme src/index.js -q --access public --section API && npm run -s fixreadme",
"fixreadme":
"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^- /gm, \"- \"))'",
"test": "npm run build && jest",
"prepare": "npm t",
"release": "npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish",
"precommit": "lint-staged"
},
"bundlesize": [
{
"path": "dist/memory.js",
"maxSize": "12500b"
}
],
"babel": {
"presets": [
[
"env",
{
"targets": {
"node": true
}
}
]
],
"plugins": [
[
"transform-react-jsx",
{
"pragma": "h"
}
]
]
},
"files": ["src", "dist"],
"keywords": ["react", "store", "memory", "redux"],
"repository": "ajainvivek/react-memory",
"author": "Ajain Vivek <[email protected]>",
"license": "MIT",
"devDependencies": {
"babel-jest": "^21.2.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
"bundlesize": "^0.15.3",
"documentation": "^4.0.0",
"eslint": "^4.12.1",
"eslint-config-developit": "^1.1.1",
"gzip-size-cli": "^2.1.0",
"jest": "^21.2.1",
"lint-staged": "^6.0.0",
"microbundle": "^0.2.4",
"npm-run-all": "^4.1.2",
"prettier": "^1.9.2",
"react": "^16.2.0",
"strip-json-comments-cli": "^1.0.1"
},
"lint-staged": {
"*.{js,json,md}": ["prettier --write", "git add"]
},
"peerDependencies": {
"react": "*"
},
"dependencies": {
"crypto-js": "^3.1.9-1",
"prop-types": "^15.6.0"
}
}