Skip to content

Commit

Permalink
chore: init package
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed Dec 19, 2020
1 parent 8897e7d commit 43be824
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/feature-flags-webpack-plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib
17 changes: 17 additions & 0 deletions packages/feature-flags-webpack-plugin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# @bem/feature-flags-webpack-plugin

## Motivation

## ✈️ Install

via npm:

```sh
npm i -DE @bem/feature-flags-webpack-plugin
```

## ☄️ Usage

```ts
TODO
```
14 changes: 14 additions & 0 deletions packages/feature-flags-webpack-plugin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions packages/feature-flags-webpack-plugin/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "@bem/feature-flags-webpack-plugin",
"version": "1.0.0",
"description": "Webpack plugin for resolving feature flags",
"license": "MPL-2.0",
"homepage": "https://github.com/bem/bem-react/tree/master/packages/feature-flags-webpack-plugin",
"repository": "https://github.com/bem/bem-react",
"bugs": {
"url": "https://github.com/bem/bem-react/issues"
},
"keywords": ["webpack", "feature-flags", "flags", "feature-toggles"],
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"build": "tsc",
"unit": "exit 0"
},
"devDependencies": {
"typescript": "4.1.3"
}
}
5 changes: 5 additions & 0 deletions packages/feature-flags-webpack-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class FeatureFlagsWebpackPlugin {
apply(_compiler: any) {}
}

module.exports = FeatureFlagsWebpackPlugin
21 changes: 21 additions & 0 deletions packages/feature-flags-webpack-plugin/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"compilerOptions": {
/* Basic Options */
"rootDir": "./src",
"outDir": "./lib",
"moduleResolution": "node",
"target": "ES2017",
"module": "CommonJS",
"declaration": true,
/* Module Resolution Options */
"esModuleInterop": true,
/* Strict Type-Checking Options */
"strict": true,
/* Additional Checks */
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true
}
}

0 comments on commit 43be824

Please sign in to comment.