mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 16:31:07 +08:00
- `@types/webpack-env` must be defined as `dependencies` in packages that export a type/function using typings from `@types/webpack-env` (it is often `NodeModule`). In that case `/// <reference types="webpack-env" />` is present in some files of the `dist` folder of the lib. Example: `lib/client-api`. - `@types/webpack-env` must be defined as `devDependencies` in packages that use its typings internally but does not expose anything related to it. Many addons need the type because they use `module.hot` function. Example: `addons/a11y` - `webpack-env` should be removed from "compilerOptions.types" key of `tsconfig.json` of packages that don't need it. I also bump `@types/webpack-env` to ^1.15.0 to have the same version all across the monorepo
77 lines
2.1 KiB
JSON
77 lines
2.1 KiB
JSON
{
|
|
"name": "@storybook/angular",
|
|
"version": "5.3.7",
|
|
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
|
|
"keywords": [
|
|
"storybook"
|
|
],
|
|
"homepage": "https://github.com/storybookjs/storybook/tree/master/app/angular",
|
|
"bugs": {
|
|
"url": "https://github.com/storybookjs/storybook/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/storybookjs/storybook.git",
|
|
"directory": "app/angular"
|
|
},
|
|
"license": "MIT",
|
|
"files": [
|
|
"bin/**/*",
|
|
"dist/**/*",
|
|
"README.md",
|
|
"*.js",
|
|
"*.d.ts"
|
|
],
|
|
"main": "dist/client/index.js",
|
|
"types": "dist/client/index.d.ts",
|
|
"bin": {
|
|
"build-storybook": "./bin/build.js",
|
|
"start-storybook": "./bin/index.js",
|
|
"storybook-server": "./bin/index.js"
|
|
},
|
|
"scripts": {
|
|
"prepare": "node ../../scripts/prepare.js"
|
|
},
|
|
"dependencies": {
|
|
"@storybook/addons": "5.3.7",
|
|
"@storybook/core": "5.3.7",
|
|
"@storybook/node-logger": "5.3.7",
|
|
"@types/webpack-env": "^1.15.0",
|
|
"core-js": "^3.0.1",
|
|
"fork-ts-checker-webpack-plugin": "^3.0.1",
|
|
"global": "^4.3.2",
|
|
"regenerator-runtime": "^0.13.3",
|
|
"sass-loader": "^8.0.0",
|
|
"strip-json-comments": "^3.0.1",
|
|
"ts-loader": "^6.0.1",
|
|
"tsconfig-paths-webpack-plugin": "^3.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/autoprefixer": "^9.4.0",
|
|
"webpack": "^4.33.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@angular-devkit/build-angular": ">=0.8.9",
|
|
"@angular-devkit/core": "^0.6.1 || >=7.0.0",
|
|
"@angular/common": ">=6.0.0",
|
|
"@angular/compiler": ">=6.0.0",
|
|
"@angular/core": ">=6.0.0",
|
|
"@angular/forms": ">=6.0.0",
|
|
"@angular/platform-browser": ">=6.0.0",
|
|
"@angular/platform-browser-dynamic": ">=6.0.0",
|
|
"autoprefixer": "^8.1.0",
|
|
"babel-loader": "^7.0.0 || ^8.0.0",
|
|
"rxjs": "^6.0.0",
|
|
"typescript": "^3.4.0",
|
|
"webpack": "^4.32.0",
|
|
"zone.js": "^0.8.29 || ^0.9.0 || ^0.10.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"gitHead": "4b9d901add9452525135caae98ae5f78dd8da9ff"
|
|
}
|