generated from permafrost-dev/typescript-project-skeleton-rollup-jest
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
73 lines (73 loc) · 2.68 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
{
"name": "react-ray",
"version": "1.1.2",
"author": "Patrick Organ <[email protected]>",
"license": "MIT",
"description": "React integration for the Ray app",
"homepage": "https://github.com/permafrost-dev/react-ray",
"repository": {
"type": "git",
"url": "git+https://github.com/permafrost-dev/react-ray.git"
},
"bugs": {
"url": "https://github.com/permafrost-dev/react-ray/issues"
},
"exports": {
".": {
"import": "./dist/index.esm.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js"
}
},
"main": "dist/index.cjs.js",
"typings": "dist/index.d.ts",
"scripts": {
"test": "./node_modules/.bin/jest tests --verbose",
"test:coverage": "./node_modules/.bin/jest tests --coverage",
"fmt": "./node_modules/.bin/prettier --config prettier.config.js --write 'src/**/*.{js,ts,json,yml,yaml}' 'tests/**/*.{js,ts,json,yml,yaml}' './*.{js,json,yml,yaml}'",
"lint": "./node_modules/.bin/eslint --ext ts,js src/",
"lint:fix": "./node_modules/.bin/eslint --ext ts,js --fix src/",
"lint:staged": "./node_modules/.bin/lint-staged",
"fix": "npm run fmt && npm run lint:fix",
"build:dts": "dts-bundle-generator --no-check -o ./dist/index.d.ts ./src/index.ts",
"build": "node scripts/build-library.js",
"preversion": "npm run test",
"postversion": "npm run build && npm run build:dts",
"prepare": "is-ci || husky install"
},
"lint-staged": {
"*.{js,ts}": [
"./node_modules/.bin/prettier --config prettier.config.js --write",
"./node_modules/.bin/eslint --ext ts,js --fix"
],
"*.{json,css,scss,gql}": [
"./node_modules/.bin/prettier --config prettier.config.js --write"
],
"*.{yaml,yml}": [
"./node_modules/.bin/prettier --config prettier.config.js --tab-width 2 --write"
]
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.25",
"@types/react": "^18.2.64",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"dts-bundle-generator": "^9.3.1",
"esbuild": "^0.23.0",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-node": "^11.1.0",
"husky": "^9.0.11",
"is-ci": "^3.0.1",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typescript": "^5.4.2"
},
"dependencies": {
"node-ray": "^1.21.0",
"react": "~16.0.0"
}
}