mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 15:41:15 +08:00
83 lines
2.6 KiB
JSON
83 lines
2.6 KiB
JSON
{
|
|
"name": "angular-cli",
|
|
"version": "4.0.0-rc.6",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "ng build",
|
|
"build-storybook": "npm run storybook:prebuild && build-storybook -s src",
|
|
"e2e": "ng e2e",
|
|
"ng": "ng",
|
|
"start": "ng serve",
|
|
"storybook": "npm run storybook:prebuild && start-storybook -p 9008 -s src/assets",
|
|
"storybook:prebuild": "npm run test:generate-output",
|
|
"test": "jest",
|
|
"test:coverage": "jest --coverage",
|
|
"test:generate-output": "jest --json --outputFile=addon-jest.testresults.json || true",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"jest": {
|
|
"coveragePathIgnorePatterns": [
|
|
"/jest-config/",
|
|
"/node_modules/"
|
|
],
|
|
"preset": "jest-preset-angular",
|
|
"setupTestFrameworkScriptFile": "./jest-config/setup.ts",
|
|
"snapshotSerializers": [
|
|
"<rootDir>/../../node_modules/jest-preset-angular/AngularSnapshotSerializer.js",
|
|
"<rootDir>/../../node_modules/jest-preset-angular/HTMLCommentSerializer.js"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/storybook-static/",
|
|
"angularshots.test.js",
|
|
"dist"
|
|
],
|
|
"transform": {
|
|
"^.+\\.(ts|js|html)$": "<rootDir>/../../node_modules/jest-preset-angular/preprocessor.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@angular/common": "^7.0.1",
|
|
"@angular/compiler": "^7.0.1",
|
|
"@angular/core": "^7.0.1",
|
|
"@angular/forms": "^7.0.1",
|
|
"@angular/platform-browser": "^7.0.1",
|
|
"@angular/platform-browser-dynamic": "^7.0.1",
|
|
"@ngrx/store": "^6.1.0",
|
|
"core-js": "^2.5.7",
|
|
"rxjs": "^6.3.3",
|
|
"rxjs-compat": "^6.3.3",
|
|
"zone.js": "^0.8.26"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/build-angular": "^0.10.3",
|
|
"@angular/cli": "^7.0.3",
|
|
"@angular/compiler-cli": "^7.0.1",
|
|
"@storybook/addon-actions": "4.0.0-rc.6",
|
|
"@storybook/addon-backgrounds": "4.0.0-rc.6",
|
|
"@storybook/addon-centered": "4.0.0-rc.6",
|
|
"@storybook/addon-jest": "4.0.0-rc.6",
|
|
"@storybook/addon-knobs": "4.0.0-rc.6",
|
|
"@storybook/addon-links": "4.0.0-rc.6",
|
|
"@storybook/addon-notes": "4.0.0-rc.6",
|
|
"@storybook/addon-options": "4.0.0-rc.6",
|
|
"@storybook/addon-storyshots": "4.0.0-rc.6",
|
|
"@storybook/addon-storysource": "4.0.0-rc.6",
|
|
"@storybook/addons": "4.0.0-rc.6",
|
|
"@storybook/angular": "4.0.0-rc.6",
|
|
"@types/core-js": "^2.5.0",
|
|
"@types/jest": "^23.3.7",
|
|
"@types/node": "~10.12.0",
|
|
"@types/webpack-env": "^1.13.6",
|
|
"global": "^4.3.2",
|
|
"jasmine-core": "~3.3.0",
|
|
"jasmine-spec-reporter": "~4.2.1",
|
|
"jest": "^23.6.0",
|
|
"jest-preset-angular": "^6.0.1",
|
|
"protractor": "~5.4.1",
|
|
"ts-node": "~7.0.0",
|
|
"typescript": "^3.1.3"
|
|
}
|
|
}
|