@bedelightful/es6-template-strings 0.0.5

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.
Files changed (50) hide show
  1. package/LICENSE +8 -0
  2. package/README.md +60 -0
  3. package/dist/es/compile.js +105 -0
  4. package/dist/es/compile.js.map +1 -0
  5. package/dist/es/index.d.ts +22 -0
  6. package/dist/es/index.js +9 -0
  7. package/dist/es/index.js.map +1 -0
  8. package/dist/es/passthru-array.js +18 -0
  9. package/dist/es/passthru-array.js.map +1 -0
  10. package/dist/es/passthru.js +13 -0
  11. package/dist/es/passthru.js.map +1 -0
  12. package/dist/es/resolve-to-array.js +12 -0
  13. package/dist/es/resolve-to-array.js.map +1 -0
  14. package/dist/es/resolve-to-string.js +12 -0
  15. package/dist/es/resolve-to-string.js.map +1 -0
  16. package/dist/es/resolve.js +62 -0
  17. package/dist/es/resolve.js.map +1 -0
  18. package/dist/es/to-array.js +16 -0
  19. package/dist/es/to-array.js.map +1 -0
  20. package/dist/es/to-string.js +16 -0
  21. package/dist/es/to-string.js.map +1 -0
  22. package/dist/es/types.js +1 -0
  23. package/dist/es/types.js.map +1 -0
  24. package/dist/index.d.ts +22 -0
  25. package/dist/index.js +3123 -0
  26. package/dist/index.js.map +1 -0
  27. package/dist/index.min.js +20 -0
  28. package/dist/index.min.js.map +1 -0
  29. package/dist/lib/compile.js +134 -0
  30. package/dist/lib/compile.js.map +1 -0
  31. package/dist/lib/index.d.cts +22 -0
  32. package/dist/lib/index.js +44 -0
  33. package/dist/lib/index.js.map +1 -0
  34. package/dist/lib/passthru-array.js +37 -0
  35. package/dist/lib/passthru-array.js.map +1 -0
  36. package/dist/lib/passthru.js +32 -0
  37. package/dist/lib/passthru.js.map +1 -0
  38. package/dist/lib/resolve-to-array.js +41 -0
  39. package/dist/lib/resolve-to-array.js.map +1 -0
  40. package/dist/lib/resolve-to-string.js +41 -0
  41. package/dist/lib/resolve-to-string.js.map +1 -0
  42. package/dist/lib/resolve.js +91 -0
  43. package/dist/lib/resolve.js.map +1 -0
  44. package/dist/lib/to-array.js +45 -0
  45. package/dist/lib/to-array.js.map +1 -0
  46. package/dist/lib/to-string.js +45 -0
  47. package/dist/lib/to-string.js.map +1 -0
  48. package/dist/lib/types.js +17 -0
  49. package/dist/lib/types.js.map +1 -0
  50. package/package.json +66 -0
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@bedelightful/es6-template-strings",
3
+ "version": "0.0.5",
4
+ "description": "Template string engine",
5
+ "keywords": [],
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/saashqdev/delightful/es6-template-strings"
9
+ },
10
+ "license": "MIT",
11
+ "author": "BeDelightful",
12
+ "type": "module",
13
+ "main": "dist/lib/index.js",
14
+ "directories": {
15
+ "test": "tests"
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "lib",
20
+ "es",
21
+ "README.md",
22
+ "package.json"
23
+ ],
24
+ "scripts": {
25
+ "build": "npm run clean && tsup --config tsup.config.ts",
26
+ "clean": "rm -rf dist",
27
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
28
+ "lint": "eslint ./src --ext ts,tsx --config .eslintrc.cjs",
29
+ "lint:fix": "eslint ./src --ext ts,tsx --config .eslintrc.cjs --fix && prettier --write ./src/**/*.{js,jsx,ts,tsx,md}",
30
+ "test": "npx jest --config=jest.config.js",
31
+ "test:watch": "npx jest --watch --config=jest.config.js"
32
+ },
33
+ "dependencies": {
34
+ "esniff": "~1.1.0"
35
+ },
36
+ "devDependencies": {
37
+ "@bedelightful/eslint-config": "~0.0.10",
38
+ "@jest/globals": "^29.7.0",
39
+ "@swc/core": "~1.11.11",
40
+ "@types/jest": "~29.5.12",
41
+ "@types/lodash-es": "~4.17.12",
42
+ "@types/node": "~10.11.0",
43
+ "jest": "^29.7.0",
44
+ "lodash-es": "~4.17.21",
45
+ "prettier": "^3.5.3",
46
+ "ts-jest": "^29.1.1",
47
+ "ts-node": "~7.0.1",
48
+ "tsup": "~8.0.2",
49
+ "typescript": "~5.0.0"
50
+ },
51
+ "engines": {
52
+ "node": ">=18.0.0"
53
+ },
54
+ "publishConfig": {
55
+ "access": "public"
56
+ },
57
+ "module": "dist/es/index.js",
58
+ "typings": "dist/es/index.d.ts",
59
+ "lint-staged": {
60
+ "./src/**/*.{ts,tsx}": [
61
+ "eslint --fix",
62
+ "prettier --write ./src/**/*.{js,jsx,ts,tsx,md}",
63
+ "git add"
64
+ ]
65
+ }
66
+ }