static-file-mapper 0.3.28 → 0.3.29
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/README.md +20 -0
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
[](https://badge.fury.io/js/static-file-mapper)
|
|
2
|
+
|
|
1
3
|
# Static File Mapper
|
|
2
4
|
|
|
3
5
|
Helps with managing static files for frontend deployments.
|
|
6
|
+
|
|
7
|
+
This utility has been developed for the [Goldstack](https://goldstack.party) starter project builder. Check it out for starting your next project ❤️
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install static-file-mapper
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
This library helps tracking paths to generated static files for deployment bundles.
|
|
17
|
+
```typescript
|
|
18
|
+
import { createStaticFileMapper } from 'static-file-mapper';
|
|
19
|
+
|
|
20
|
+
// Example usage
|
|
21
|
+
const mapper = createStaticFileMapper();
|
|
22
|
+
|
|
23
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "static-file-mapper",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.29",
|
|
4
4
|
"description": "Helps tracking path to generated static files for deployment bundles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -26,12 +26,11 @@
|
|
|
26
26
|
"compile-watch:light": "nodemon --watch ./src/ -e '*' --exec 'yarn compile'",
|
|
27
27
|
"coverage": "jest --collect-coverage --passWithNoTests --config=./jest.config.js --runInBand",
|
|
28
28
|
"prepublishOnly": "yarn run build",
|
|
29
|
-
"publish": "
|
|
29
|
+
"publish": "yarn npm publish --tolerate-republish",
|
|
30
30
|
"test": "jest --passWithNoTests --config=./jest.config.js --runInBand",
|
|
31
|
-
"version:apply": "
|
|
31
|
+
"version:apply": "yarn version $@ && yarn version apply"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@goldstack/utils-git": "0.2.23",
|
|
35
34
|
"@swc/core": "^1.15.8",
|
|
36
35
|
"@swc/jest": "^0.2.39",
|
|
37
36
|
"@types/aws-lambda": "^8.10.159",
|