shinkansen-sprockets 1.1.430 → 1.1.431
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/gulpfile.mjs +75 -0
- package/package.json +1 -1
- package/jsconfig.json +0 -5
- package/tsconfig.json +0 -48
package/gulpfile.mjs
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
import 'regenerator-runtime/runtime.js'
|
2
|
+
|
3
|
+
import gulp from '@sequencemedia/gulp'
|
4
|
+
|
5
|
+
import {
|
6
|
+
cleanFonts,
|
7
|
+
fonts as buildFonts,
|
8
|
+
watchFonts,
|
9
|
+
cleanIcons,
|
10
|
+
icons as buildIcons,
|
11
|
+
watchIcons,
|
12
|
+
cleanCss,
|
13
|
+
css as buildCss,
|
14
|
+
watchCss
|
15
|
+
} from '#build/gulp/build'
|
16
|
+
|
17
|
+
import {
|
18
|
+
transformClean,
|
19
|
+
transform,
|
20
|
+
transformWatch
|
21
|
+
} from '#build/gulp/transform'
|
22
|
+
|
23
|
+
gulp
|
24
|
+
.task('clean:fonts', cleanFonts)
|
25
|
+
|
26
|
+
gulp
|
27
|
+
.task('build:fonts', gulp.series('clean:fonts', buildFonts))
|
28
|
+
|
29
|
+
gulp
|
30
|
+
.task('watch:fonts', gulp.series('build:fonts', watchFonts))
|
31
|
+
|
32
|
+
gulp
|
33
|
+
.task('clean:icons', cleanIcons)
|
34
|
+
|
35
|
+
gulp
|
36
|
+
.task('build:icons', gulp.series('clean:icons', buildIcons))
|
37
|
+
|
38
|
+
gulp
|
39
|
+
.task('watch:icons', gulp.series('build:icons', watchIcons))
|
40
|
+
|
41
|
+
gulp
|
42
|
+
.task('clean:css', cleanCss)
|
43
|
+
|
44
|
+
gulp
|
45
|
+
.task('build:css', gulp.series('clean:css', buildCss))
|
46
|
+
|
47
|
+
gulp
|
48
|
+
.task('watch:css', gulp.series('build:css', watchCss))
|
49
|
+
|
50
|
+
gulp
|
51
|
+
.task('clean', gulp.series('clean:fonts', 'clean:icons', 'clean:css'))
|
52
|
+
|
53
|
+
gulp
|
54
|
+
.task('build', gulp.series('build:fonts', 'build:icons', 'build:css'))
|
55
|
+
|
56
|
+
gulp
|
57
|
+
.task('watch', gulp.parallel('watch:fonts', 'watch:icons', 'watch:css'))
|
58
|
+
|
59
|
+
gulp
|
60
|
+
.task('transform', transform)
|
61
|
+
|
62
|
+
gulp
|
63
|
+
.task('build:clean', gulp.series('clean:fonts', 'clean:icons', 'clean:css'))
|
64
|
+
|
65
|
+
gulp
|
66
|
+
.task('build:watch', gulp.series('watch:fonts', 'watch:icons', 'watch:css'))
|
67
|
+
|
68
|
+
gulp
|
69
|
+
.task('transform:clean', transformClean)
|
70
|
+
|
71
|
+
gulp
|
72
|
+
.task('transform:watch', transformWatch)
|
73
|
+
|
74
|
+
gulp
|
75
|
+
.task('default', gulp.series('build', 'transform'))
|
package/package.json
CHANGED
package/jsconfig.json
DELETED
package/tsconfig.json
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"module": "ESNext",
|
4
|
-
"target": "ESNext",
|
5
|
-
"allowJs": true,
|
6
|
-
"checkJs": false,
|
7
|
-
"allowSyntheticDefaultImports": true,
|
8
|
-
"noEmit": true,
|
9
|
-
"strict": true,
|
10
|
-
"isolatedModules": true,
|
11
|
-
"baseUrl": ".",
|
12
|
-
"paths": {
|
13
|
-
"#sprockets/common": [
|
14
|
-
"src/common/index.mjs"
|
15
|
-
],
|
16
|
-
"#sprockets/components/*": [
|
17
|
-
"src/components/*/index.jsx"
|
18
|
-
],
|
19
|
-
"#sprockets/sprockets": [
|
20
|
-
"src/sprockets/index.jsx"
|
21
|
-
],
|
22
|
-
"#sprockets/sprockets/*": [
|
23
|
-
"src/sprockets/*/index.jsx"
|
24
|
-
],
|
25
|
-
"#sprockets/sprockets/check-answers/group/*": [
|
26
|
-
"src/sprockets/check-answers/group/*.jsx"
|
27
|
-
],
|
28
|
-
"#sprockets/sprockets/error-summary/group/*": [
|
29
|
-
"src/sprockets/error-summary/group/*.jsx"
|
30
|
-
],
|
31
|
-
"#sprockets/transformers/*": [
|
32
|
-
"src/transformers/*/index.mjs"
|
33
|
-
],
|
34
|
-
"#stories/definitions/*": [
|
35
|
-
"stories/definitions/*.json"
|
36
|
-
],
|
37
|
-
"#stories/errors": [
|
38
|
-
"stories/errors.mjs"
|
39
|
-
],
|
40
|
-
"#stories/sprockets/*": [
|
41
|
-
"stories/sprockets/*/index.stories.jsx"
|
42
|
-
]
|
43
|
-
}
|
44
|
-
},
|
45
|
-
"include": [
|
46
|
-
"src/**/*"
|
47
|
-
]
|
48
|
-
}
|