@parcel/feature-flags 2.12.1-nightly.3141
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/lib/index.js +9 -0
- package/package.json +24 -0
- package/src/index.js +10 -0
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017-present Devon Govett
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
package/lib/index.js
ADDED
package/package.json
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"name": "@parcel/feature-flags",
|
3
|
+
"version": "2.12.1-nightly.3141+4042e306a",
|
4
|
+
"description": "Blazing fast, zero configuration web application bundler",
|
5
|
+
"license": "MIT",
|
6
|
+
"publishConfig": {
|
7
|
+
"access": "public"
|
8
|
+
},
|
9
|
+
"funding": {
|
10
|
+
"type": "opencollective",
|
11
|
+
"url": "https://opencollective.com/parcel"
|
12
|
+
},
|
13
|
+
"repository": {
|
14
|
+
"type": "git",
|
15
|
+
"url": "https://github.com/parcel-bundler/parcel.git"
|
16
|
+
},
|
17
|
+
"main": "lib/index.js",
|
18
|
+
"source": "src/index.js",
|
19
|
+
"types": "index.d.ts",
|
20
|
+
"engines": {
|
21
|
+
"node": ">= 16.0.0"
|
22
|
+
},
|
23
|
+
"gitHead": "4042e306aef005f9bf407a189681b4049599719d"
|
24
|
+
}
|
package/src/index.js
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
// @flow strict
|
2
|
+
|
3
|
+
export type FeatureFlags = {|
|
4
|
+
// This feature flag mostly exists to test the feature flag system, and doesn't have any build/runtime effect
|
5
|
+
+exampleFeature: boolean,
|
6
|
+
|};
|
7
|
+
|
8
|
+
export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
|
9
|
+
exampleFeature: false,
|
10
|
+
};
|