-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.66 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
{
"name": "@bottom-sheet/state-machine",
"version": "1.1.1",
"description": "The bottom-sheet brains, built on xstate",
"keywords": [
"typescript",
"xstate",
"bottom-sheet",
"react-spring-bottom-sheet"
],
"homepage": "https://react-spring.bottom-sheet.dev",
"bugs": {
"url": "https://github.com/bottom-sheet/state-machine/issues"
},
"repository": "bottom-sheet/state-machine",
"license": "MIT",
"author": "Cody Olsen <[email protected]>",
"sideEffects": false,
"exports": {
".": {
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
}
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"source": "src/index.ts",
"types": "dist/dts/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prebuild": "rimraf dist/**",
"build": "parcel build",
"postbuild": "cp src/index.typegen.ts dist/dts/index.typegen.d.ts && npx replace-in-file \"index.typegen\" \"./index.typegen\" dist/dts/index.d.ts",
"dev": "parcel watch",
"lint": "eslint . --ext ts,tsx,js,jsx --max-warnings 0 && prettier --check .",
"lint:format": "eslint . --ext ts,tsx,js,jsx --fix && prettier --write .",
"package-check": "npx package-check",
"prepublishOnly": "npm run build",
"test": "npm run lint && npm run type-check && npm run build && npx jest && npm run package-check",
"type-check": "tsc --noEmit",
"watch": "npx jest --watch"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"dependencies": {
"@bottom-sheet/types": "^1.0.6",
"@types/lodash.clamp": "^4.0.7",
"@types/lodash.isequal": "^4.5.6",
"lodash.clamp": "^4.0.3",
"lodash.isequal": "^4.5.0",
"memoize-one": "^6.0.0",
"xstate": "^4.32.1"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.2",
"@parcel/packager-ts": "^2.6.2",
"@parcel/transformer-typescript-types": "^2.6.2",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@skypack/package-check": "^0.2.2",
"@types/jest": "^28.1.4",
"@types/node": "^18.0.3",
"@xstate/cli": "^0.3.0",
"eslint": "^8.19.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^28.1.2",
"parcel": "^2.6.2",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.18",
"replace-in-file": "^6.3.5",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.3",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
},
"publishConfig": {
"access": "public"
}
}