-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 4.49 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "tpdsnext",
"version": "1.2.129",
"private": true,
"scripts": {
"dev": "yarn build_colorscss && next dev",
"build": "yarn build_colorscss && next build",
"start": "yarn build_colorscss && next start",
"lint": "yarn build_colorscss && next lint",
"publish_patch": "npm run build_module_and_publish_patch",
"publish_minor": "npm run build_module_and_publish_minor",
"publish_major": "npm run build_module_and_publish_major",
"publish_patch_and_commit": "npm run build_module_and_publish_patch && npm run commit",
"publish_minor_and_commit": "npm run build_module_and_publish_minor && npm run commit",
"publish_major_and_commit": "npm run build_module_and_publish_major && npm run commit",
"build_module_and_publish_patch": "npm version --no-git-tag-version patch && yarn && yarn pull-tokens && rm -rf ./npm_module/_dist && yarn packindex && yarn pack_categories && cd npm_module && npm version --no-git-tag-version patch && npm publish",
"build_module_and_publish_minor": "npm version --no-git-tag-version minor && yarn && yarn pull-tokens && rm -rf ./npm_module/_dist && yarn packindex && yarn pack_categories && cd npm_module && npm version --no-git-tag-version minor && npm publish",
"build_module_and_publish_major": "npm version --no-git-tag-version major && yarn && yarn pull-tokens && rm -rf ./npm_module/_dist && yarn packindex && yarn pack_categories && cd npm_module && npm version --no-git-tag-version major && npm publish",
"commit": "git add . && git commit -m 'Update NPM module to '$npm_package_version",
"build_basecss": "postcss src/lib/globals.css -o npm_module/_dist/system/tpds.css",
"build_colorscss": "node ./scripts/generateColorVars.js",
"pack_colorscss": "copyfiles -u 3 ./src/tpds/system/*.css ./npm_module/_dist/system",
"pack_categories": "yarn packcomponents && yarn packelements && yarn packconstants && yarn packsystem && yarn packtokens && yarn packassets && yarn build_basecss && yarn build_colorscss && yarn pack_colorscss",
"packindex": "npx babel --presets=@babel/preset-env,@babel/preset-react --plugins=@babel/plugin-syntax-jsx ./src/tpds/index.js --out-file ./npm_module/_dist/index.js",
"packelements": "npx babel --presets=@babel/preset-env,@babel/preset-react --plugins=@babel/plugin-syntax-jsx ./src/tpds/elements/**/**/**/** -d ./npm_module/_dist/elements && rm ./npm_module/_dist/elements/*.*",
"packconstants": "npx babel --presets=@babel/preset-env,@babel/preset-react --plugins=@babel/plugin-syntax-jsx ./src/tpds/constants/**/**/**/** -d ./npm_module/_dist/constants && rm ./npm_module/_dist/constants/*.*",
"packcomponents": "npx babel --presets=@babel/preset-env,@babel/preset-react --plugins=@babel/plugin-syntax-jsx ./src/tpds/components/**/**/**/** -d ./npm_module/_dist/components && rm ./npm_module/_dist/components/*.*",
"packsystem": "npx babel --presets=@babel/preset-env,@babel/preset-react --plugins=@babel/plugin-syntax-jsx ./src/tpds/system/**/**/**/** -d ./npm_module/_dist/system",
"packtokens": "mkdir -p ./npm_module/_dist && mkdir -p ./npm_module/_dist/tokens && cp ./src/tpds/tokens/index.json ./npm_module/_dist/tokens",
"packassets": "yarn packsvgs && yarn packfonts",
"packsvgs": "npx babel --presets=@babel/preset-env,@babel/preset-react --plugins=@babel/plugin-syntax-jsx ./src/tpds/assets/svgs/**/**/** -d ./npm_module/_dist/assets/svgs && rm ./npm_module/_dist/assets/svgs/*.*",
"packfonts": "copyfiles -u 3 ./src/tpds/assets/fonts/**/**/*.* ./npm_module/_dist/assets",
"publish_module": "cd npm_module && npm version --no-git-tag-version patch && npm publish",
"publish_tpds_patch": "node ./publishTPDS.js",
"pull-tokens": "node ./scripts/getFigmaTokens.js"
},
"dependencies": {
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@babel/preset-react": "^7.22.5",
"@headlessui/react": "^1.7.17",
"@heroicons/react": "v1",
"@tailwindcss/container-queries": "^0.1.1",
"autoprefixer": "10.4.14",
"axios": "^1.4.0",
"clsx": "^1.2.1",
"color": "^4.2.3",
"copyfiles": "^2.4.1",
"del": "^8.0.0",
"dotenv": "^16.3.1",
"eslint": "8.43.0",
"eslint-config-next": "13.4.6",
"lodash": "^4.17.21",
"next": "13.4.6",
"postcss": "8.4.24",
"postcss-cli": "^10.1.0",
"rc-slider": "^10.5.0",
"react": "18.2.0",
"react-colorful": "^5.6.1",
"react-dom": "18.2.0",
"react-syntax-highlighter": "^15.5.0",
"tailwind-merge": "^2.2.1",
"tailwindcss": "^3.3.3"
}
}