weboptimizer 2.0.1149 → 2.0.1152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1152",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -510,7 +510,7 @@
|
|
|
510
510
|
"__evaluate__": "['node'].concat(self.generic.isWeb ? 'jsdom' : [])"
|
|
511
511
|
},
|
|
512
512
|
"command": {
|
|
513
|
-
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.
|
|
513
|
+
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.base, self.path.target.test) === '' ? './test' : `${path.relative(self.path.base, self.path.target.test)}/`}.+\\\\.js$' --test-environment ${environment}`).join(' && ')"
|
|
514
514
|
}
|
|
515
515
|
},
|
|
516
516
|
"test:browser": {
|
|
@@ -518,12 +518,12 @@
|
|
|
518
518
|
},
|
|
519
519
|
"test:coverage": {
|
|
520
520
|
"command": {
|
|
521
|
-
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.
|
|
521
|
+
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.base, self.path.target.test) === '' ? './test' : `${path.relative(self.path.base, self.path.target.test)}/`}.+\\\\.js$' ${self.generic.testCommandLineCoverageArguments} --test-environment ${environment}`).join(' && ')"
|
|
522
522
|
}
|
|
523
523
|
},
|
|
524
524
|
"test:coverage:report": {
|
|
525
525
|
"command": {
|
|
526
|
-
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.
|
|
526
|
+
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.base, self.path.target.test) === '' ? './test' : `${path.relative(self.path.base, self.path.target.test)}/`}.+\\\\.js$' ${self.generic.testCommandLineCoverageArguments} --coverageDirectory=.coverage --coverageReporters=lcov --outputFile=lcov.info --test-environment ${environment}`).join(' && ')"
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
},
|
|
@@ -1051,8 +1051,7 @@
|
|
|
1051
1051
|
{
|
|
1052
1052
|
"browsers": {
|
|
1053
1053
|
"__evaluate__": "self.generic.supportedBrowsers"
|
|
1054
|
-
}
|
|
1055
|
-
"stage": 0
|
|
1054
|
+
}
|
|
1056
1055
|
}
|
|
1057
1056
|
]
|
|
1058
1057
|
]
|
|
@@ -1599,17 +1598,17 @@
|
|
|
1599
1598
|
},
|
|
1600
1599
|
"test": {
|
|
1601
1600
|
"command": {
|
|
1602
|
-
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.
|
|
1601
|
+
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.base, self.path.target.test) === '' ? 'test' : `${path.relative(self.path.base, self.path.target.test)}/`}.*\\\\.js$' --test-environment ${environment}`).join(' && ')"
|
|
1603
1602
|
}
|
|
1604
1603
|
},
|
|
1605
1604
|
"test:coverage": {
|
|
1606
1605
|
"command": {
|
|
1607
|
-
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.
|
|
1606
|
+
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.base, self.path.target.test) === '' ? 'test' : `${path.relative(self.path.base, self.path.target.test)}/`}.*\\\\.js$' ${self.generic.testCommandLineCoverageArguments} --test-environment ${environment}`).join(' && ')"
|
|
1608
1607
|
}
|
|
1609
1608
|
},
|
|
1610
1609
|
"test:coverage:report": {
|
|
1611
1610
|
"command": {
|
|
1612
|
-
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.
|
|
1611
|
+
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.base, self.path.target.test) === '' ? 'test' : `${path.relative(self.path.base, self.path.target.test)}/`}.*\\\\.js$' ${self.generic.testCommandLineCoverageArguments} --coverageDirectory=.coverage --coverageReporters=lcov --outputFile=lcov.info --test-environment ${environment}`).join(' && ')"
|
|
1613
1612
|
}
|
|
1614
1613
|
}
|
|
1615
1614
|
},
|