Skip to content

Commit 43be824

Browse files
committed
chore: init package
1 parent 8897e7d commit 43be824

6 files changed

Lines changed: 79 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lib
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# @bem/feature-flags-webpack-plugin
2+
3+
## Motivation
4+
5+
## ✈️ Install
6+
7+
via npm:
8+
9+
```sh
10+
npm i -DE @bem/feature-flags-webpack-plugin
11+
```
12+
13+
## ☄️ Usage
14+
15+
```ts
16+
TODO
17+
```

packages/feature-flags-webpack-plugin/package-lock.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "@bem/feature-flags-webpack-plugin",
3+
"version": "1.0.0",
4+
"description": "Webpack plugin for resolving feature flags",
5+
"license": "MPL-2.0",
6+
"homepage": "https://github.com/bem/bem-react/tree/master/packages/feature-flags-webpack-plugin",
7+
"repository": "https://github.com/bem/bem-react",
8+
"bugs": {
9+
"url": "https://github.com/bem/bem-react/issues"
10+
},
11+
"keywords": ["webpack", "feature-flags", "flags", "feature-toggles"],
12+
"main": "lib/index.js",
13+
"typings": "lib/index.d.ts",
14+
"scripts": {
15+
"build": "tsc",
16+
"unit": "exit 0"
17+
},
18+
"devDependencies": {
19+
"typescript": "4.1.3"
20+
}
21+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class FeatureFlagsWebpackPlugin {
2+
apply(_compiler: any) {}
3+
}
4+
5+
module.exports = FeatureFlagsWebpackPlugin
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"compilerOptions": {
3+
/* Basic Options */
4+
"rootDir": "./src",
5+
"outDir": "./lib",
6+
"moduleResolution": "node",
7+
"target": "ES2017",
8+
"module": "CommonJS",
9+
"declaration": true,
10+
/* Module Resolution Options */
11+
"esModuleInterop": true,
12+
/* Strict Type-Checking Options */
13+
"strict": true,
14+
/* Additional Checks */
15+
"forceConsistentCasingInFileNames": true,
16+
"noFallthroughCasesInSwitch": true,
17+
"noImplicitReturns": true,
18+
"noUnusedLocals": true,
19+
"noUnusedParameters": true
20+
}
21+
}

0 commit comments

Comments
 (0)