-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
129 lines (129 loc) · 4.27 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "@stackhawk/naiveasync",
"repository": {
"type": "git",
"url": "git+https://github.com/stackhawk/naiveasync.git"
},
"version": "1.1.0",
"description": "An Opinionated and Painless React & Redux promise wrapper",
"exports": {
"import": "./dist/esm/naiveasync/index.js",
"require": "./dist/cjs/naiveasync/index.js"
},
"types": "./dist/types/naiveasync/index.d.ts",
"type": "module",
"author": {
"name": "Samuel Volin",
"email": "[email protected]",
"url": "https://github.com/untra"
},
"homepage": "https://naiveasync.untra.io/",
"jest": {
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"/node_modules/",
"/cypress/",
"/dist/"
]
},
"scripts": {
"postversion": "git push && git push --tags",
"prepublishOnly": "npm run ci && npm run defs",
"preversion": "npm run ci",
"test": "npm run build && jest",
"build": "rm -rf dist && mkdir dist && cp src/index.html dist/index.html && tsc -p build.tsconfig.json && npm run compile",
"build:watch": "npm run build && tsc -p ./build.tsconfig.json --watch",
"build:ts": "tsc -p tsconfig.json",
"build:rs": "./node_modules/.bin/react-scripts build",
"build:site": "npm run build:ts && npm run build:rs",
"lint": "eslint src --ext .ts,.tsx,.js --ignore-path .gitignore",
"docs": "mkdir -p build/docs && typedoc src/naiveasync --out build/docs",
"defs": "tsc -p tsconfig.types.json --declaration --outDir dist/ --emitDeclarationOnly",
"ci": "npm run build && npm run lint && npm run test",
"ci2": "npm run lint && npm run build && npm run cover",
"start": "./node_modules/.bin/react-scripts start",
"deploy": "./node_modules/.bin/gh-pages -d ./build",
"predeploy": "npm run build:site && npm run docs",
"prettier:format": "prettier --write \"./src/**/*.{ts,tsx}\"",
"watch": "./node_modules/.bin/webpack-dev-server dist/src/index.js",
"serve:watch": "./node_modules/.bin/webpack --config webpack.config.js --mode development",
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json"
},
"license": "MIT",
"peerDependencies": {
"lodash": "^4.x.x",
"react": ">= 16.x.x",
"redux": "^4.x.x",
"rxjs": "^6.x.x"
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "7.15.8",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.9.0",
"@reactivex/rxjs": "^6.6.7",
"@types/chai": "^4.2.11",
"@types/jest": "^24.0.25",
"@types/lodash": "^4.14.151",
"@types/mocha": "^5.2.5",
"@types/node": "^10.17.21",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@types/react-highlight": "0.12.1",
"@types/react-redux": "^7.1.8",
"@types/react-router-dom": "4.3.3",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"babel-loader": "^8.1.0",
"chai": "^4.2.0",
"css-loader": "^3.5.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsdoc": "^37.0.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^1.1.5",
"gh-pages": "^2.2.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^5.5.0",
"jest": "^27.3.1",
"jest-environment-jsdom": "^27.0.6",
"lodash": "^4.17.21",
"mocha": "^9.1.3",
"prettier": "^2.0.5",
"prettier-eslint": "^12.0.0",
"react": "^16.14.0",
"react-dom": "^16.13.1",
"react-highlight": "^0.14.0",
"react-redux": "^7.2.5",
"react-router-dom": "5.3.0",
"react-scripts": "^5.0.1",
"redux": "^4.2.1",
"rxjs": "^6.6.7",
"terser-webpack-plugin": "^5.2.4",
"ts-loader": "^6.2.2",
"typedoc": "^0.22.7",
"typescript": "^4.4.4",
"uuid": "^8.3.2",
"webpack": "^5.59.1",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.3.1",
"webpack-node-externals": "^1.7.2"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}