✨(bin) add tokens repo
This repo is made for the bin script that generates the tokens files, at the moment it only generates a css file, but it is designed to be able to generate any other file format ( Typescript, Javascript for example )
This commit is contained in:
43
packages/tokens/package.json
Normal file
43
packages/tokens/package.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "@openfun/cunningham-tokens",
|
||||
"private": false,
|
||||
"version": "0.0.0",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"cunningham": "dist/bin/Main.js"
|
||||
},
|
||||
"exports": {
|
||||
"./default-tokens": "./dist/cunningham-tokens.css"
|
||||
},
|
||||
"files": [
|
||||
"dist/"
|
||||
],
|
||||
"scripts": {
|
||||
"lint": "eslint . 'src/**/*.{ts,tsx}'",
|
||||
"dev": "nodemon --watch 'src/bin' --ext '*' --exec 'yarn build'",
|
||||
"build": "tsc -p tsconfig.json && cp src/bin/cunningham.dist.js dist/bin && chmod +x dist/bin/Main.js && yarn build-default-theme",
|
||||
"build-default-theme": "./dist/bin/Main.js -o dist -s html",
|
||||
"test": "FORCE_COLOR=1 jest --verbose src/bin/tests"
|
||||
},
|
||||
"dependencies": {
|
||||
"chalk": "4.1.2",
|
||||
"commander": "9.4.1",
|
||||
"deepmerge": "4.2.2",
|
||||
"figlet": "1.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/figlet": "1.5.5",
|
||||
"@types/jest": "29.2.3",
|
||||
"@types/node": "18.11.9",
|
||||
"eslint-config-custom": "*",
|
||||
"jest": "29.3.1",
|
||||
"nodemon": "2.0.20",
|
||||
"prettier": "2.8.0",
|
||||
"ts-jest": "29.0.3",
|
||||
"ts-node": "10.9.1",
|
||||
"typescript": "4.9.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user