-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
60 lines (60 loc) · 1.7 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
{
"name": "@prezly/react-promise-modal",
"version": "0.3.1",
"description": "The proper (and easy) way of doing modals in React. With Promises.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"README.md",
"dist"
],
"scripts": {
"clean": "rimraf package-lock.json pnpm-lock.yaml yarn.lock node_modules/ dist/",
"build": "npm run build:js && npm run build:types",
"build:js": "babel src/index.ts -o dist/index.js",
"build:types": "tsc --project .",
"test": "npm run test:ts && npm run test:types && npm run test:build",
"test:types": "tsc --project ./tsconfig.test.json",
"test:ts": "tsc --noEmit --lib es2018,dom ./test/typescript.test.ts",
"test:build": "node test/commonjs.test.js",
"publish": "np"
},
"repository": {
"type": "git",
"url": "git+https://github.com/prezly/react-promise-modal.git"
},
"keywords": [
"react",
"modal",
"promise",
"async",
"await",
"confirmation"
],
"author": "Ivan Voskboinyk <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/prezly/react-promise-modal/issues"
},
"homepage": "https://github.com/prezly/react-promise-modal#readme",
"dependencies": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0"
},
"devDependencies": {
"@babel/cli": "^7.21.5",
"@babel/core": "^7.21.8",
"@babel/preset-env": "^7.21.5",
"@babel/preset-typescript": "^7.21.5",
"babel-plugin-transform-es2015-modules-simple-commonjs": "^0.3.0",
"np": "^7.7.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^5.0.1",
"typescript": "4.5"
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
}
}