-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.74 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
{
"name": "reactor-feature-toggle",
"version": "5.0.0",
"description": "Your module to handle with feature toggles in ReactJS applications easier",
"author": "Will Mendes <willmendesneto@gmail.com> (http://github.com/willmendesneto)",
"keywords": [
"react",
"reactjs",
"feature-toggle",
"toggle",
"flag",
"feature-flag",
"reactor-feature-toggle"
],
"files": [
"dist"
],
"homepage": "https://github.com/willmendesneto/reactor-feature-toggle#readme",
"bugs": {
"url": "https://github.com/willmendesneto/reactor-feature-toggle/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/willmendesneto/reactor-feature-toggle.git"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/umd/index.d.ts",
"sideEffects": false,
"browser": "dist/umd/reactor-feature-toggle.js",
"jsnext:main": "dist/esm/index.js",
"es2015": "dist/cjs/index.js",
"cjs": "dist/cjs/index.js",
"scripts": {
"build": "npm run build:clean && npm run build:es2015 && npm run build:cjs && npm run build:esm && npm run build:umd",
"build:umd": "rollup dist/esm/index.js --format umd --name ReactorFeatureToggle -o dist/umd/reactor-feature-toggle.js && yarn build:umd:min",
"build:umd:min": "uglifyjs --compress --mangle --screw-ie8 --comments -o dist/umd/reactor-feature-toggle.min.js -- dist/umd/reactor-feature-toggle.js && gzip dist/umd/reactor-feature-toggle.min.js -c > dist/umd/reactor-feature-toggle.min.js.gz",
"build:es2015": "tsc --project ./tsconfig.build.json --module es2015 --target es2015 --outDir dist/es2015",
"build:esm": "tsc --project ./tsconfig.build.json --module esnext --target es5 --outDir dist/esm",
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --target es5 --outDir dist/cjs",
"build:clean": "rm -rf ./dist ./.jest ./coverage",
"lint": "eslint --ext .ts,.tsx,.js src/",
"lint:fix": "eslint --ext .ts,.tsx,.js src/ --fix",
"lint:types": "tsc --noEmit",
"lint:types-watch": "tsc --noEmit --watch",
"prepack": "npm run preversion -s && npm run build -s",
"test": "jest",
"test:watch": "jest --watch",
"preversion": "npm run lint -s && npm run lint:types -s && npm run test -s",
"bundlesize": "bundlesize",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage",
"version": "version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md",
"vc": "version-changelog CHANGELOG.md"
},
"dependencies": {
"feature-toggle-service": "^6.0.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-export-namespace-from": "^7.5.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.9.6",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.9.0",
"@babel/runtime": "^7.9.6",
"@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^10.0.4",
"@types/enzyme": "^3.10.5",
"@types/jest": "^25.2.2",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^3.1.0",
"@typescript-eslint/parser": "^3.1.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^26.0.1",
"babel-loader": "^8.1.0",
"babel-types": "^6.26.0",
"bundlesize": "^0.18.0",
"changelog-verify": "^1.1.2",
"confusing-browser-globals": "^1.0.9",
"coveralls": "^3.1.0",
"dtslint": "^3.6.4",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^7.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.2",
"jest": "^26.0.1",
"prettier": "^2.0.5",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"rollup": "^2.12.1",
"typescript": "^3.9.2",
"uglify-js": "^3.9.4",
"version-changelog": "^3.1.1"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"bundlesize": [
{
"path": "./dist/umd/reactor-feature-toggle.min.js",
"maxSize": "352B"
},
{
"path": "./dist/cjs/index.js",
"maxSize": "162B"
}
],
"engines": {
"node": ">=12"
},
"browserslist": [
"last 1 chrome versions",
"last 1 edge versions",
"last 1 firefox versions",
"last 1 safari versions",
"last 1 and_chr versions",
"last 1 ios_saf versions",
"ie 11"
]
}