File tree Expand file tree Collapse file tree 3 files changed +119
-0
lines changed
Expand file tree Collapse file tree 3 files changed +119
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "source": {
3+ "include": ["src", "README.md"],
4+ "exclude": ["node_modules", "dist"]
5+ },
6+ "plugins": ["plugins/markdown"],
7+ "templates": {
8+ "cleverLinks": false,
9+ "monospaceLinks": false
10+ },
11+ "opts": {
12+ "template": "node_modules/minami",
13+ "encoding": "utf8",
14+ "destination": "docs/",
15+ "recurse": true
16+ }
17+ }
Original file line number Diff line number Diff line change 1+ require('babel-core/register')
2+
3+ module.exports = {
4+ test_runner: {
5+ type : "mocha",
6+ options : {
7+ ui : "bdd",
8+ reporter : "list"
9+ }
10+ },
11+ output_folder: "build/nightwatch",
12+ src_folders: ["test"],
13+ test_settings: {
14+ default: {
15+ desiredCapabilities : {
16+ browserName : "safari",
17+ alwaysMatch: {
18+ acceptInsecureCerts: false
19+ }
20+ },
21+ webdriver: {
22+ port: 4445,
23+ start_process: true,
24+ server_path: "/usr/bin/safaridriver",
25+ log_path: "build/nightwatch/"
26+ }
27+ },
28+ chrome: {
29+ desiredCapabilities: {
30+ browserName: "chrome",
31+ chromeOptions: { args: ["--headless"] }
32+ },
33+ webdriver: {
34+ port: 9515,
35+ start_process: true,
36+ server_path: require('chromedriver').path,
37+ log_path: "build/nightwatch/"
38+ }
39+ },
40+ firefox: {
41+ desiredCapabilities: {
42+ browserName: "firefox",
43+ 'moz:firefoxOptions': {
44+ args: ["--headless"]
45+ }
46+ },
47+ webdriver: {
48+ port: 4444,
49+ start_process: true,
50+ "server_path": "./node_modules/.bin/geckodriver",
51+ log_path: "build/nightwatch/"
52+ }
53+ },
54+ edge: {
55+ desiredCapabilities: {
56+ browserName: "MicrosoftEdge",
57+ 'ms:edgeOptions': {
58+ w3c: true,
59+ args: ["--headless"]
60+ }
61+ },
62+ webdriver: {
63+ port: 9516,
64+ start_process: true,
65+ server_path: "",
66+ log_path: "build/nightwatch/"
67+ }
68+ }
69+ }
70+ }
Original file line number Diff line number Diff line change 1+ import terser from "@rollup/plugin-terser";
2+
3+ export default [
4+ {
5+ external: ['@puremvc/puremvc-js-multicore-framework'],
6+ input: "src/index.js",
7+ output: [
8+ {
9+ file: "bin/esm/index.js",
10+ format: "esm",
11+ sourcemap: false
12+ },
13+ {
14+ file: "bin/esm/index.min.js",
15+ format: "esm",
16+ plugins: [terser()],
17+ sourcemap: true
18+ },
19+ {
20+ file: "bin/cjs/index.cjs",
21+ format: "cjs",
22+ sourcemap: false
23+ },
24+ {
25+ file: "bin/cjs/index.min.cjs",
26+ format: "cjs",
27+ plugins: [terser()],
28+ sourcemap: true
29+ }
30+ ],
31+ }
32+ ];
You can’t perform that action at this time.
0 commit comments