-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
117 lines (117 loc) · 3.44 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
{
"name": "timsy",
"version": "2.5.0",
"private": true,
"description": "Agnostic functional state machine with epic type support",
"keywords": [
"typescript",
"react",
"state",
"statemachine",
"fsm"
],
"repository": "git+https://github.com/christianalfoni/timsy.git",
"license": "MIT",
"author": "Christian Alfoni <[email protected]>",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./index.d.ts",
"module": "./esm/index.js",
"import": "./esm/index.mjs",
"default": "./index.js"
},
"./core": {
"types": "./core.d.ts",
"module": "./esm/core.js",
"import": "./esm/core.mjs",
"default": "./core.js"
}
},
"main": "index.js",
"module": "index.js",
"types": "index.d.ts",
"files": [
"**"
],
"scripts": {
"prebuild": "yarn clean",
"build": "concurrently -m 8 'yarn:build:*'",
"postbuild": "yarn copy",
"build:base": "rollup -c",
"build:core": "rollup -c --config-core",
"clean": "shx rm -rf dist coverage",
"precopy": "shx cp -r dist/src/* dist/esm && shx cp -r dist/src/* dist && shx rm -rf dist/src && shx rm -rf dist/{src,tests}",
"copy": "concurrently -m 8 'yarn:copy:*'",
"copy:package-json": "shx cp package.json dist && json -I -f dist/package.json -e 'this.private=false; this.devDependencies=undefined; this.scripts=undefined; this.publishConfig=undefined'",
"copy:static-content": "shx cp README.md LICENSE dist",
"eslint": "eslint --fix '*.json' 'src/**/*.{ts,tsx}'",
"format": "prettier '**/*.{md,js,jsx,json,ts,tsx}' --write",
"prepare": "husky install",
"prepublish": "yarn build",
"pretest": "yarn typecheck",
"test": "jest",
"test:ci": "jest",
"test:coverage:watch": "jest --watch",
"test:dev": "jest --watch --no-coverage",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.2",
"@testing-library/react": "^13.2.0",
"@types/jest": "^23.0.0",
"@types/node": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"babel-jest": "^28.1.0",
"concurrently": "^7.1.0",
"dts-bundle": "^0.7.2",
"esbuild": "^0.14.39",
"eslint": "^8.15.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-react": "^7.29.4",
"husky": "^8.0.0",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"json": "^11.0.0",
"lint-staged": "^12.4.1",
"pascal-case": "^2.0.1",
"prettier": "2.6.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"rollup": "^2.72.1",
"rollup-plugin-esbuild": "^4.9.1",
"rollup-plugin-terser": "^7.0.2",
"semver": "^6.3.0",
"shx": "^0.3.4",
"sort-package-json": "^1.57.0",
"ts-jest": "~28.0.1",
"tslib": "^2.1.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.13.0",
"tslint-plugin-prettier": "^2.0.0",
"typescript": "^4.6.4"
},
"peerDependencies": {
"react": ">=16.8"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"engines": {
"node": ">=12.7.0"
},
"publishConfig": {
"access": "public"
}
}