figma-js
v1.8.4info
npm-scripts-info
build
run-s clean && run-p build:*
build:main
tsc -p tsconfig.json
build:module
tsc -p tsconfig.module.json
fix
run-s fix:*
fix:prettier
prettier "src/**/*.ts" --write
fix:tslint
tslint --fix --project .
test
run-s build test:*
test:lint
tslint --project . && prettier "src/**/*.ts" --list-different
test:unit
nyc --silent ava
test:nsp
nsp check
watch
run-s clean build:main && run-p "build:main -- -w" "test:unit -- --watch"
cov
run-s build test:unit cov:html && opn coverage/index.html
cov:html
nyc report --reporter=html
cov:send
nyc report --reporter=lcov > coverage.lcov && codecov
cov:check
nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100
doc
run-s doc:html && opn build/docs/index.html
doc:html
typedoc src/ --target ES6 --mode file --out build/docs
doc:json
typedoc src/ --target ES6 --mode file --json build/docs/typedoc.json
doc:publish
gh-pages -m "[ci skip] Updates" -d build/docs
zzzversion
standard-version
zzzreset
git clean -dfx && git reset --hard && npm i
clean
trash build test
all
run-s doc:html
prepare-release
yarn build && yarn doc && yarn doc:publish
release
yarn prepare-release && yarn publish && git push && git push --tag
zzzpreinstall
node -e "if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('figma-js must be installed with Yarn: https://yarnpkg.com/')"
npm i [email protected]
Source Code
github.com/jongold/figma-jsMetadata
- MIT
- >=8.9
- Unknown
- released 9/9/2019