Skip to content
Permalink
Browse files

Used webextension-scripts init react-typescript

  • Loading branch information...
Kadauchi committed Aug 22, 2019
1 parent a3c73bf commit 8d1f7e860a8abb7ed6faf5586718b26f9fab952d
Showing with 84 additions and 3 deletions.
  1. +2 −2 .gitignore
  2. +62 −0 package-lock.json
  3. +5 −0 package.json
  4. +1 −1 readme.md
  5. +14 −0 tsconfig.json
@@ -1,2 +1,2 @@
build/
node_modules/
/node_modules
/build

Some generated files are not rendered by default. Learn more.

@@ -8,6 +8,11 @@
"build": "webextension-scripts build"
},
"dependencies": {
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"typescript": "^3.5.3",
"webextension-scripts": "^0.5.0"
},
"devDependencies": {
@@ -31,4 +31,4 @@ The extension will automatically reload when you save changes.

### `npm run build`

Compiles the extension into `./build/unpacked` and then packages that into production ready zips at `./build/{target}-{version}.zip`.
Compiles the extension into `./build/unpacked` and then packages that into production ready zips at `./build/{target}-{version}.zip`.
@@ -0,0 +1,14 @@
{
"compilerOptions": {
"esModuleInterop": true,
"inlineSourceMap": true,
"noImplicitAny": true,
"module": "commonjs",
"target": "es6",
"jsx": "react",
"lib": [
"es2018",
"dom"
]
}
}

0 comments on commit 8d1f7e8

Please sign in to comment.
You can’t perform that action at this time.