-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.38 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "SpeedAndCustom",
"version": "0.0.2",
"license": "MIT",
"author": "Thorsten Scherler",
"description": "Used in the JenkinsWorld 2018 talks as base seed.",
"scripts": {
"build": "jjsbuilder",
"bundle": "jjsbuilder --tasks bundle",
"start": "npm run start-storybook -- -p 9009",
"storybook": "npm run start-storybook -- -p 9001",
"build-storybook": "build-storybook --static-dir ./target,./node_modules/@jenkins-cd/design-language/dist/assets/,./node_modules/@jenkins-cd/blueocean-core-js/dist/assets/ --output-dir target/website-build",
"start-storybook": "start-storybook --static-dir ./target,./node_modules/@jenkins-cd/design-language/dist/assets/,./node_modules/@jenkins-cd/blueocean-core-js/dist/assets/",
"storybook:port": "npm run start-storybook -- -p ",
"test": "jjsbuilder --tasks test",
"lint": "jjsbuilder --tasks lint",
"lint:fix": "jjsbuilder --tasks lint --fixLint",
"bundle:watch": "jjsbuilder --tasks bundle:watch",
"mvnbuild": "jjsbuilder --tasks bundle",
"mvntest": "jjsbuilder --tasks test,lint"
},
"jest": {
"setupFiles": [
"./.storybook/__conf__/jestMockConfig.js"
],
"automock": false,
"testMatch": [
"**/stories/*.sp.js?(x)",
"**/src/test/js/**/*-spec.{js,jsx}"
],
"globals": {
"__TESTS__": true
},
"collectCoverage": true,
"collectCoverageFrom": [
"src/main/js/**/*.jsx",
"!src/main/js/stories/*.js",
"src/main/js/*.jsx"
],
"testResultsProcessor": "jest-junit",
"unmockedModulePathPatterns": [
"<rootDir>/node_modules/chai/",
"<rootDir>/node_modules/core-js/",
"<rootDir>/node_modules/enzyme/",
"<rootDir>/node_modules/es6-shim/",
"<rootDir>/node_modules/lodash/",
"<rootDir>/node_modules/react/",
"<rootDir>/node_modules/react-addons-test-utils/",
"<rootDir>/node_modules/react-dom/",
"<rootDir>/node_modules/uuid/"
]
},
"jest-junit": {
"suiteName": "tests for storybook",
"output": "./target/story-junit.xml",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}",
"usePathForSuiteName": "true"
},
"dependencies": {
"@jenkins-cd/blueocean-core-js": "0.0.171",
"@jenkins-cd/design-language": "0.0.161",
"@jenkins-cd/js-extensions": "0.0.41",
"@jenkins-cd/js-modules": "0.0.10",
"react": "15.4.2",
"react-dom": "15.4.2",
"react-router": "3.0.0"
},
"devDependencies": {
"@jenkins-cd/eslint-config-jenkins": "0.0.2",
"@jenkins-cd/js-builder": "0.0.62",
"@jenkins-cd/js-builder-jest": "0.0.4",
"@kadira/storybook": "2.35.3",
"babel": "6.23.0",
"babel-core": "6.17.0",
"babel-eslint": "7.2.1",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-preset-env": "1.6.0",
"babel-preset-es2015": "6.24.0",
"babel-preset-react": "6.23.0",
"babel-preset-stage-0": "6.22.0",
"chai": "3.5.0",
"enzyme": "2.8.0",
"eslint": "2.13.1",
"eslint-plugin-flowtype": "2.30.4",
"eslint-plugin-react": "4.3.0",
"eslint-to-editorconfig": "1.2.0",
"expect": "1.20.2",
"faker": "4.1.0",
"gulp": "3.9.1",
"gulp-mocha": "4.2.0",
"jest-cli": "19.0.2",
"jest-junit": "1.5.1",
"less": "2.7.2",
"mocha": "3.2.0",
"nock": "9.0.10",
"react-addons-test-utils": "15.4.2",
"react-test-renderer": "15.4.2",
"storybook-addon-specifications": "1.0.16"
}
}