This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.43 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
{
"name": "@evilfactory/global-state",
"version": "0.0.1",
"description": "⚛️ Simple State Management from react to react powered by React Hook.",
"repository": "[email protected]:evilfactorylabs/useGlobalState.git",
"author": "ri7nz <[email protected]>",
"license": "MIT",
"private": false,
"peerDependencies": {
"react": "^16.8.0"
},
"files": [
"lib",
"dist"
],
"jest": {
"bail": true,
"browser": true,
"displayName": "global-state v0.0.1",
"testEnvironment": "jest-environment-jsdom",
"transform": {
"^.+\\.[t|j]sx?$": "babel-jest"
},
"setupFilesAfterEnv": [
"./jest.setup.js"
],
"testMatch": [
"**/__tests__/**/*.js?(x)"
],
"verbose": true
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": true
}
}
],
"@babel/preset-react"
],
"plugins": []
},
"source": "lib/index.js",
"main": "dist/index.js",
"module": "dist/index.m.js",
"unpkg": "dist/index.umd.js",
"scripts": {
"build": "npm-run-all --silent -p build:* -s size",
"build:microbundle": "microbundle",
"size": "strip-json-comments --no-whitespace dist/*.js | gzip-size ",
"build:docs": "documentation readme lib/*.js -q --section API && yarn fixreadme",
"dev": "microbundle --watch",
"lint": "eslint ./lib --fix",
"prepare": "rm -rf dist && yarn test && yarn build",
"release": "yarn -s prepare && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish",
"test": "jest",
"test:watch": "jest --watch",
"fixreadme": "node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^- /gm, \"- \"))'",
"docs": "documentation readme lib/*.js -q --section API && yarn fixreadme"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "7.5.5",
"@babel/preset-react": "7.0.0",
"@testing-library/jest-dom": "4.0.0",
"@testing-library/react": "8.0.7",
"babel-jest": "24.8.0",
"documentation": "12.0.3",
"eslint": "6.1.0",
"eslint-plugin-jest": "22.14.0",
"eslint-plugin-react": "7.14.3",
"gzip-size-cli": "3.0.0",
"jest": "24.8.0",
"microbundle": "0.11.0",
"npm-run-all": "4.1.5",
"react": "16.11.0",
"react-dom": "16.8.6",
"strip-json-comments-cli": "1.0.1"
}
}