weboptimizer 2.0.1149 → 2.0.1150
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 +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1150",
|
|
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
|
},
|
|
@@ -1599,17 +1599,17 @@
|
|
|
1599
1599
|
},
|
|
1600
1600
|
"test": {
|
|
1601
1601
|
"command": {
|
|
1602
|
-
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.
|
|
1602
|
+
"__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
1603
|
}
|
|
1604
1604
|
},
|
|
1605
1605
|
"test:coverage": {
|
|
1606
1606
|
"command": {
|
|
1607
|
-
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.
|
|
1607
|
+
"__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
1608
|
}
|
|
1609
1609
|
},
|
|
1610
1610
|
"test:coverage:report": {
|
|
1611
1611
|
"command": {
|
|
1612
|
-
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.
|
|
1612
|
+
"__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
1613
|
}
|
|
1614
1614
|
}
|
|
1615
1615
|
},
|