-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
102 lines (102 loc) · 3.26 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
{
"name": "general-store",
"version": "4.2.0",
"description": "Simple, flexible store implementation for Flux.",
"main": "lib/GeneralStore.js",
"module": "dist/general-store.esm.js",
"types": "lib/GeneralStore.d.ts",
"scripts": {
"build:commonjs": "babel src --ignore *-test.js --out-dir lib --extensions \".ts\",\".tsx\"",
"build:umd": "rollup -c",
"build": "npm run build:commonjs && npm run build:umd && npm run generate-types",
"generate-initial-types": "tsc --outDir lib",
"bundle-types": "dts-bundle --name GeneralStore --main lib/GeneralStore.d.ts --out ../dist/GeneralStore.d.ts",
"generate-flow": "flowgen -o flow-typed/GeneralStore.flow.js --add-flow-header --no-inexact dist/GeneralStore.d.ts > flow-errors.log",
"generate-types": "npm run generate-initial-types && npm run bundle-types && npm run generate-flow",
"build-and-test": "npm run clean && npm run build && npm test",
"clean": "rm -rf ./dist && rm -rf lib",
"format": "prettier --single-quote -l --bracket-spacing --jsx-bracket-same-line --trailing-comma es5 --parser flow --write \"{src,__{tests,mocks}__}/**/*.js\"",
"lint": "eslint . --ext ts,tsx",
"prepublish": "npm run build-and-test",
"test:unit": "jest",
"test": "npm run lint && jest"
},
"repository": {
"type": "git",
"url": "https://github.com/HubSpot/general-store"
},
"keywords": [
"flux",
"store",
"react"
],
"files": [
"dist",
"lib"
],
"author": "Colby Rabideau",
"maintainers": [
"Adam Markon"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/HubSpot/general-store/issues"
},
"homepage": "https://github.com/HubSpot/general-store",
"peerDependencies": {
"react": ">= 16.8.0"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.3.4",
"@babel/plugin-proposal-class-properties": "7.3.4",
"@babel/polyfill": "7.2.5",
"@babel/preset-env": "7.3.4",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.3.3",
"@types/flux": "^3.1.8",
"@typescript-eslint/eslint-plugin": "2.26.0",
"@typescript-eslint/parser": "2.26.0",
"dts-bundle": "0.7.3",
"enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.11.0",
"eslint": "5.15.1",
"eslint-config-prettier": "4.1.0",
"eslint-plugin-jest": "^22.3.2",
"eslint-plugin-react-app": "^4.0.1",
"eslint-plugin-react-hooks": "^1.5.1",
"flowgen": "1.10.0",
"flux": "^2.0.1",
"immutable": "3.8.1",
"immutable-is": "^3.7.4",
"invariant": "^2.2.1",
"jest": "24.5.0",
"prettier": "1.16.4",
"prop-types": "^15.7.2",
"react": "16.8.4",
"react-dom": "16.8.4",
"rollup": "^1.6.0",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-replace": "^2.1.1",
"rollup-plugin-typescript": "^1.0.0",
"rollup-plugin-uglify": "^6.0.2",
"typescript": "3.8.3"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"unmockedModulePathPatterns": [
"immutable-is",
"invariant",
"<rootDir>/src/dispatcher/DispatcherInterface.js",
"<rootDir>/src/store/InspectStore.js",
"<rootDir>/src/uniqueid",
"<rootDir>/src/utils/ObjectUtils.js"
]
},
"dependencies": {
"hoist-non-react-statics": "3.3.0"
}
}