@storyblok/js 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +196 -0
- package/dist/storyblok-js.js +6 -0
- package/dist/storyblok-js.mjs +1527 -0
- package/package.json +81 -0
package/package.json
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
{
|
2
|
+
"name": "@storyblok/js",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "SDK to integrate Storyblok into your project using JavaScript.",
|
5
|
+
"main": "./dist/storyblok-js.js",
|
6
|
+
"module": "./dist/storyblok-js.mjs",
|
7
|
+
"files": [
|
8
|
+
"dist"
|
9
|
+
],
|
10
|
+
"exports": {
|
11
|
+
".": {
|
12
|
+
"import": "./dist/storyblok-js.mjs",
|
13
|
+
"require": "./dist/storyblok-js.js"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"scripts": {
|
17
|
+
"dev": "vite build --watch",
|
18
|
+
"build": "vite build",
|
19
|
+
"test": "npm run test:unit && npm run test:e2e",
|
20
|
+
"test:unit": "jest __tests__",
|
21
|
+
"test:e2e": "start-server-and-test cy:playground http-get://localhost:3000/ cy:run",
|
22
|
+
"test:e2e-watch": "start-server-and-test cy:playground http-get://localhost:3000/ cy:open",
|
23
|
+
"cy:playground": "npm run demo --prefix ../playground",
|
24
|
+
"cy:run": "cypress run --spec 'cypress/integration/*'",
|
25
|
+
"cy:open": "cypress open --spec 'cypress/integration/*'",
|
26
|
+
"prepublishOnly": "npm run build && cp ../README.md ./"
|
27
|
+
},
|
28
|
+
"dependencies": {
|
29
|
+
"storyblok-js-client": "^4.2.0"
|
30
|
+
},
|
31
|
+
"devDependencies": {
|
32
|
+
"@babel/core": "^7.15.0",
|
33
|
+
"@babel/preset-env": "^7.16.11",
|
34
|
+
"babel-jest": "^26.6.3",
|
35
|
+
"cypress": "^8.3.0",
|
36
|
+
"eslint-plugin-cypress": "^2.12.1",
|
37
|
+
"eslint-plugin-jest": "^25.2.4",
|
38
|
+
"jest": "^26.6.3",
|
39
|
+
"jest-console": "^0.1.0",
|
40
|
+
"start-server-and-test": "^1.14.0",
|
41
|
+
"vite": "^2.4.4"
|
42
|
+
},
|
43
|
+
"babel": {
|
44
|
+
"presets": [
|
45
|
+
[
|
46
|
+
"@babel/preset-env",
|
47
|
+
{
|
48
|
+
"targets": {
|
49
|
+
"node": "current"
|
50
|
+
}
|
51
|
+
}
|
52
|
+
]
|
53
|
+
]
|
54
|
+
},
|
55
|
+
"jest": {
|
56
|
+
"moduleFileExtensions": [
|
57
|
+
"js",
|
58
|
+
"json"
|
59
|
+
],
|
60
|
+
"transform": {
|
61
|
+
"^.+\\.js$": "babel-jest"
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"release": {
|
65
|
+
"branches": [
|
66
|
+
"main"
|
67
|
+
]
|
68
|
+
},
|
69
|
+
"repository": {
|
70
|
+
"type": "git",
|
71
|
+
"url": "https://github.com/storyblok/storyblok-js"
|
72
|
+
},
|
73
|
+
"author": "Storyblok",
|
74
|
+
"bugs": {
|
75
|
+
"url": "https://github.com/storyblok/storyblok-js/issues"
|
76
|
+
},
|
77
|
+
"homepage": "https://github.com/storyblok/storyblok-js",
|
78
|
+
"publishConfig": {
|
79
|
+
"access": "public"
|
80
|
+
}
|
81
|
+
}
|