-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
149 lines (149 loc) · 4.4 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "next-flag",
"description": "🏁 Feature flags powered by GitHub issues and NextJS. Toggle the features of your app by ticking a checkbox in a GitHub issue. Supports server-side rendering, multiple environments, and can be deployed as a stand-alone feature flag server.",
"version": "1.2.1",
"author": "Tim Mikeladze <[email protected]>",
"license": "MIT",
"keywords": [
"feature-flags",
"flags",
"features",
"next",
"next-js",
"github",
"feature-flag",
"feature-flag-issues"
],
"repository": {
"type": "git",
"url": "https://github.com/TimMikeladze/next-flag"
},
"scripts": {
"dev": "concurrently \"pnpm build --watch\" \"pnpm test\" ",
"build": "tsup --onSuccess \"pnpm link:self\"",
"type-check": "tsc",
"lint": "eslint --ignore-path .gitignore \"{src,tests}/**/*.+(ts|js|tsx|jsx)\"",
"lint:fix": "pnpm lint --fix && prettier --write .",
"test": "vitest",
"test:ci": "vitest run --coverage",
"prepare": "husky",
"commit": "cz",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"release": "pnpm build && pnpm release-it",
"link:self": "pnpm link --global",
"doc": "tsdoc --src=src/NextFlag.ts,src/react/useNextFlag.ts,src/react/NextFlagProvider.tsx,src/client/getFeatures.ts,src/client/isFeatureEnabled.ts"
},
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./react": {
"require": "./dist/react/index.js",
"import": "./dist/react/index.mjs"
},
"./client": {
"require": "./dist/client/index.js",
"import": "./dist/client/index.mjs"
}
},
"files": [
"dist"
],
"lint-staged": {
"./{src,tests}/**/*.{ts,js,jsx,tsx}": [
"eslint --ignore-path .gitignore --fix"
],
"*": "prettier --write"
},
"config": {
"commitizen": {
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
},
"release-it": {
"git": {
"commitMessage": "chore(release): v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
},
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@babel/core": "7.24.5",
"@babel/preset-env": "7.24.5",
"@babel/preset-react": "7.24.1",
"@babel/preset-typescript": "7.24.1",
"@ryansonshine/commitizen": "4.2.8",
"@ryansonshine/cz-conventional-changelog": "3.3.4",
"@storybook/addon-essentials": "8.1.1",
"@storybook/addon-interactions": "8.1.1",
"@storybook/addon-links": "8.1.1",
"@storybook/addon-webpack5-compiler-swc": "1.0.2",
"@storybook/blocks": "8.1.1",
"@storybook/react": "8.1.1",
"@storybook/react-webpack5": "8.1.1",
"@storybook/test": "8.1.1",
"@testing-library/jest-dom": "6.4.5",
"@testing-library/react": "15.0.7",
"@types/node": "20.12.12",
"@types/react": "18.3.2",
"@types/react-dom": "18.3.0",
"@types/react-test-renderer": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0",
"@vitejs/plugin-react": "4.2.1",
"@vitest/coverage-v8": "1.6.0",
"babel-loader": "9.1.3",
"concurrently": "8.2.2",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-sort-class-members": "1.20.0",
"eslint-plugin-storybook": "0.8.0",
"eslint-plugin-typescript-sort-keys": "3.2.0",
"eslint-plugin-unused-imports": "3.1.0",
"husky": "9.0.11",
"jsdom": "24.0.0",
"lint-staged": "15.2.2",
"next": "^14.2.3",
"prettier": "3.2.5",
"prop-types": "15.8.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-test-renderer": "18.3.1",
"release-it": "17.3.0",
"storybook": "8.1.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"tsdoc-markdown": "^0.6.0",
"tsup": "8.0.2",
"tsx": "4.10.5",
"typescript": "5.4.5",
"vitest": "1.6.0"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17"
},
"resolutions": {},
"dependencies": {
"@octokit/rest": "^20.1.1",
"@textlint/markdown-to-ast": "^14.0.4",
"space-slug": "^2.0.2"
}
}