generated from AdobeDocs/dev-site-documentation-template
-
Notifications
You must be signed in to change notification settings - Fork 98
/
package.json
52 lines (52 loc) · 2.59 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"private": true,
"name": "uxp-photoshop-documentation",
"version": "0.1.24",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/AdobeDocs/uxp-photoshop"
},
"dependencies": {
"@adobe/gatsby-theme-aio": "^4.14.14",
"gatsby": "4.22.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"uxp-documentation": "github:adobedocs/uxp#v8.1.0"
},
"scripts": {
"start": "gatsby build && gatsby serve",
"start:prefix": "gatsby build --prefix-paths && gatsby serve --prefix-paths",
"_copy-uxp-html": "rm -rf src/pages/uxp-api/reference-html && cp -r node_modules/uxp-documentation/_transclusions/photoshop/uxp/reference-html src/pages/uxp-api/ && cp node_modules/uxp-documentation/reference-html.js reference-html.js",
"_copy-uxp-spectrum": "rm -rf src/pages/uxp-api/reference-spectrum && cp -r node_modules/uxp-documentation/_transclusions/photoshop/uxp/reference-spectrum src/pages/uxp-api/ && cp node_modules/uxp-documentation/reference-spectrum.js reference-spectrum.js",
"_copy-uxp-js": "rm -rf src/pages/uxp-api/reference-js && cp -r node_modules/uxp-documentation/_transclusions/photoshop/uxp/reference-js src/pages/uxp-api/ && cp node_modules/uxp-documentation/reference-js.js reference-js.js",
"_copy-uxp-css": "rm -rf src/pages/uxp-api/reference-css && cp -r node_modules/uxp-documentation/_transclusions/photoshop/uxp/reference-css src/pages/uxp-api/ && cp node_modules/uxp-documentation/reference-css.js reference-css.js",
"_copy-uxp": "npm run _copy-uxp-js && npm run _copy-uxp-css && npm run _copy-uxp-html && npm run _copy-uxp-spectrum",
"_copy-uxp-files": "cp node_modules/uxp-documentation/src/pages/uxp-api/*.md src/pages/uxp-api/",
"prepare-uxp": "npm run _copy-uxp && npm run _copy-uxp-files",
"predev": "npm run prepare-uxp",
"dev": "gatsby develop",
"prebuild": "npm run prepare-uxp",
"build": "NODE_OPTIONS=--max-old-space-size=4096 gatsby build",
"build:incremental": "GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build --log-pages",
"serve": "gatsby serve",
"clean": "gatsby clean",
"test:links": "remark src/pages --quiet --frail",
"lint": "docker run --rm -e RUN_LOCAL=true --env-file '.github/super-linter.env' -v \"$PWD\":/tmp/lint github/super-linter:slim-v4.10.1"
},
"remarkConfig": {
"plugins": [
"remark-validate-links"
]
},
"packageManager": "[email protected]",
"devDependencies": {
"eslint": "^7.32.0",
"remark-cli": "^11.0.0",
"remark-validate-links": "^12.1.0"
},
"resolutions": {
"sharp": "0.33.0",
"gatsby-sharp": "1.12.0"
}
}