generated from ivandotv/microbundle-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
90 lines (90 loc) · 2.93 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
{
"name": "oktopod",
"version": "1.2.6",
"description": "Event bus implementation for xstate machines",
"keywords": [
"xstate",
"bus",
"eventbus",
"event bus",
"xstate bus",
"xstate event bus"
],
"private": false,
"author": "Ivan Vlatković",
"license": "MIT",
"type": "module",
"main": "./dist/prod/index.cjs",
"module": "./dist/prod/index.modern.js",
"umd:main": "./dist/prod/index.umd.js",
"exports": {
"require": "./dist/prod/index.cjs",
"development": "./dist/dev/index.modern.js",
"default": "./dist/prod/index.modern.js"
},
"types": "./dist/types/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"lint": "eslint --fix \"src/**/\"",
"lint:ci": "eslint \"src/**/\"",
"test": "cross-env NODE_ENV=test jest --verbose --coverage --no-cache",
"test:watch": "cross-env NODE_ENV=test jest --watch",
"test:ci": "cross-env NODE_ENV=test jest --runInBand --ci --coverage --coverageDirectory=coverage",
"build:prod": "cross-env NODE_ENV=production microbundle --tsconfig ./tsconfig.json --format modern,cjs --output dist/prod/index.js",
"build:dev": "cross-env NODE_ENV=development microbundle --define process.env.NODE_ENV=development --tsconfig ./tsconfig.json --generateTypes false --format modern --output dist/dev/index.js",
"build": "rm -rf ./dist && pnpm build:dev && pnpm build:prod",
"type:check": "tsc --noEmit true",
"gen:docs": "rm -rf ./docs/api && typedoc --options typedoc.cjs",
"prepublishOnly": "pnpm build",
"prepare": "husky install",
"release": "pnpm run prepublishOnly && pnpm changeset publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ivandotv/oktopod.git"
},
"bugs": {
"url": "https://github.com/ivandotv/oktopod/issues"
},
"homepage": "https://github.com/ivandotv/oktopod#readme",
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@babel/preset-typescript": "^7.16.7",
"@changesets/cli": "^2.22.0",
"@types/jest": "^27.5.0",
"@types/node": "^17.0.31",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"babel-plugin-dev-expression": "^0.2.3",
"babel-plugin-transform-define": "^2.0.1",
"cross-env": "^7.0.3",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-tsdoc": "^0.2.16",
"husky": "^7.0.4",
"jest": "^28.1.0",
"jest-mock-console": "^1.2.3",
"jest-watch-typeahead": "^1.1.0",
"lint-staged": "^12.4.1",
"microbundle": "^0.15.0",
"prettier": "^2.6.2",
"shx": "^0.3.4",
"typedoc": "^0.22.15",
"typedoc-plugin-markdown": "^3.12.1",
"typescript": "^4.6.4"
},
"dependencies": {
"mitt": "^3.0.0",
"xstate": "^4.32.0"
},
"peerDependencies": {
"xstate": "^4.32.0"
}
}