@smartive/stencil-core

v4.19.2
A Compiler for Web Components and Progressive Web Apps
web components components stencil ionic webapp custom elements pwa progressive web app

build

npm run clean && npm run tsc.prod && npm run ts scripts/index.ts -- --prod --ci

build.watch

npm run build -- --watch

build.updateSelectorEngine

npm run ts scripts/updateSelectorEngine.ts

clean

rm -rf build/ cli/ compiler/ dev-server/ internal/ mock-doc/ sys/ testing/ && npm run clean:scripts && npm run clean.screenshots

clean.screenshots

rm -rf test/end-to-end/screenshot/builds test/end-to-end/screenshot/images

clean:scripts

rm -rf scripts/build

lint

eslint 'bin/*' 'scripts/*.ts' 'scripts/**/*.ts' 'src/*.ts' 'src/**/*.ts' 'src/**/*.tsx' 'test/wdio/**/*.tsx'

install.jest

bash ./src/testing/jest/install-dependencies.sh

prettier

npm run prettier.base -- --write

prettier.base

prettier --cache "./({bin,scripts,src,test}/**/*.{ts,tsx,js,jsx})|bin/stencil|.github/(**/)?*.(yml|yaml)|*.js"

prettier.dry-run

npm run prettier.base -- --list-different

release.ci.prepare

npm run ts scripts/index.ts -- --release --ci-prepare

release.ci

NODE_OPTIONS=--max-old-space-size=4096 npm run ts scripts/index.ts -- --release --ci-publish

spellcheck

npm run spellcheck.code && npm run spellcheck.markdown

spellcheck.code

cspell --config cspell-code.json --no-progress "src/**/*.ts" "src/**/*.tsx" "scripts/**/*.ts"

spellcheck.markdown

cspell --config cspell-markdown.json --no-progress "*.md" "**/*.md"

test

node --experimental-vm-modules ./node_modules/jest/bin/jest.js --coverage

test.analysis

cd test && npm run analysis.build-and-analyze

test.bundlers

cd test && npm run bundlers

test.dist

npm run ts scripts/index.ts -- --validate-build

test.end-to-end

cd test/end-to-end && npm ci && npm test && npm run test.dist

test.jest

node --experimental-vm-modules ./node_modules/jest/bin/jest.js

test.wdio

cd test/wdio && npm ci && npm run test

test.wdio.testOnly

cd test/wdio && npm ci && npm run wdio

test.prod

npm run test.dist && npm run test.end-to-end && npm run test.jest && npm run test.wdio && npm run test.testing && npm run test.analysis

test.testing

node scripts/test/validate-testing.js

test.docs-build

cd test && npm run build.docs-json && npm run build.docs-readme

test.watch

node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch

test.watch-all

node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watchAll --coverage

tsc.prod

tsc

ts

tsc --noEmit --project scripts/tsconfig.json && tsx
npm i @smartive/stencil-core

Metadata

  • MIT
  • >=16.0.0
  • Ionic Team
  • released 8/13/2024

Downloads