2022-12-01 12:03:37 +01:00
|
|
|
{
|
|
|
|
|
"name": "@openfun/cunningham-tokens",
|
|
|
|
|
"private": false,
|
2023-06-23 14:34:19 +02:00
|
|
|
"version": "0.5.0",
|
2022-12-01 12:03:37 +01:00
|
|
|
"license": "MIT",
|
2023-01-26 17:52:34 +01:00
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public"
|
|
|
|
|
},
|
2022-12-01 12:03:37 +01:00
|
|
|
"bin": {
|
2023-01-04 15:51:06 +01:00
|
|
|
"cunningham": "./dist/bin/Main.js"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
2023-01-04 15:51:06 +01:00
|
|
|
"main": "./dist/lib/index.js",
|
|
|
|
|
"types": "./dist/lib/index.d.ts",
|
2022-12-01 12:03:37 +01:00
|
|
|
"exports": {
|
2023-01-04 15:51:06 +01:00
|
|
|
"./default-tokens": "./dist/cunningham-tokens.css",
|
|
|
|
|
".": {
|
|
|
|
|
"require": "./dist/lib/index.js",
|
|
|
|
|
"import": "./dist/lib/index.js",
|
|
|
|
|
"types": "./dist/lib/index.d.ts"
|
|
|
|
|
}
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"dist/"
|
|
|
|
|
],
|
|
|
|
|
"scripts": {
|
|
|
|
|
"lint": "eslint . 'src/**/*.{ts,tsx}'",
|
|
|
|
|
"dev": "nodemon --watch 'src/bin' --ext '*' --exec 'yarn build'",
|
2023-01-12 15:00:45 +01:00
|
|
|
"build-bin": "cd src/bin && tsc -p tsconfig.json && tsc-alias && chmod +x ../../dist/bin/Main.js",
|
2023-01-04 15:51:06 +01:00
|
|
|
"build-lib": "cp dist/cunningham-tokens.ts src/lib && cd src/lib && tsc -p tsconfig.json",
|
|
|
|
|
"build": "yarn build-bin && yarn build-default-theme && yarn build-lib && cd ../.. && ln -sf ../../packages/tokens/dist/bin/Main.js node_modules/.bin/cunningham",
|
2023-04-17 16:35:12 +02:00
|
|
|
"build-default-theme": "./dist/bin/Main.js -o dist -s html -g scss,css,js,ts --utility-classes",
|
2023-01-04 15:51:06 +01:00
|
|
|
"test": "FORCE_COLOR=1 jest --runInBand --verbose src"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2022-12-12 17:52:00 +01:00
|
|
|
"chalk": "4.1.2",
|
2023-06-27 09:04:49 +00:00
|
|
|
"commander": "11.0.0",
|
2023-03-28 23:37:39 +00:00
|
|
|
"deepmerge": "4.3.1",
|
2023-05-12 09:57:55 +00:00
|
|
|
"figlet": "1.6.0",
|
2023-01-04 15:51:06 +01:00
|
|
|
"ts-node": "10.9.1"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2023-05-12 09:57:55 +00:00
|
|
|
"@types/figlet": "1.5.6",
|
2023-06-27 09:04:49 +00:00
|
|
|
"@types/jest": "29.5.2",
|
|
|
|
|
"@types/node": "18.16.18",
|
2022-12-01 12:03:37 +01:00
|
|
|
"eslint-config-custom": "*",
|
2023-03-28 23:37:39 +00:00
|
|
|
"jest": "29.5.0",
|
|
|
|
|
"nodemon": "2.0.22",
|
2023-05-12 09:57:55 +00:00
|
|
|
"prettier": "2.8.8",
|
|
|
|
|
"ts-jest": "29.1.0",
|
|
|
|
|
"tsc-alias": "1.8.6",
|
2023-06-27 09:04:49 +00:00
|
|
|
"typescript": "5.1.3"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=16.0.0"
|
2023-03-31 16:19:31 +02:00
|
|
|
},
|
|
|
|
|
"volta": {
|
2023-06-27 09:04:49 +00:00
|
|
|
"node": "18.16.1",
|
2023-03-31 16:19:31 +02:00
|
|
|
"yarn": "1.22.19"
|
2022-12-01 12:03:37 +01:00
|
|
|
}
|
|
|
|
|
}
|