mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-12-19 05:19:42 +08:00
103 lines
3.4 KiB
JSON
103 lines
3.4 KiB
JSON
{
|
|
"name": "@ionic/core",
|
|
"version": "4.0.0-alpha.14",
|
|
"description": "Base components for Ionic",
|
|
"keywords": [
|
|
"ionic",
|
|
"framework",
|
|
"stencil",
|
|
"mobile",
|
|
"app",
|
|
"webapp",
|
|
"capacitor",
|
|
"cordova",
|
|
"progressive web app",
|
|
"pwa"
|
|
],
|
|
"module": "dist/collection/index.js",
|
|
"main": "dist/index.js",
|
|
"types": "dist/types/index.d.ts",
|
|
"collection": "dist/collection/collection-manifest.json",
|
|
"unpkg": "dist/ionic.js",
|
|
"files": [
|
|
"dist/",
|
|
"css/"
|
|
],
|
|
"dependencies": {
|
|
"ionicons": "4.2.5"
|
|
},
|
|
"devDependencies": {
|
|
"@stencil/core": "0.10.9",
|
|
"@stencil/dev-server": "latest",
|
|
"@stencil/sass": "latest",
|
|
"@stencil/utils": "latest",
|
|
"@types/jest": "^22.2.3",
|
|
"chai": "^4.1.2",
|
|
"chromedriver": "^2.38.3",
|
|
"clean-css-cli": "^4.1.11",
|
|
"jest": "^23.1.0",
|
|
"mocha": "^4.0.1",
|
|
"np": "^2.17.0",
|
|
"selenium-webdriver": "^3.6.0",
|
|
"stylelint": "^9.3.0",
|
|
"stylelint-order": "^0.8.1",
|
|
"tslint": "^5.10.0",
|
|
"tslint-ionic-rules": "0.0.14",
|
|
"typescript": "^2.9.2",
|
|
"yargs": "^10.0.3"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run clean && npm run build.css && stencil build --docs",
|
|
"build.css": "npm run css.sass && npm run css.clean",
|
|
"build.debug": "npm run clean && stencil build --debug",
|
|
"build.docs.json": "stencil build --docs-json dist/docs.json",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
"clean": "node scripts/clean.js",
|
|
"css.clean": "cleancss -O2 -o ./css/ionic.min.css ./css/ionic.css",
|
|
"css.sass": "node-sass --output ./css src/css",
|
|
"dev": "npm run build.css && stencil build --dev --watch --serve",
|
|
"e2e": "node ./scripts/e2e",
|
|
"e2e-debug": "node --inspect --debug-brk ./scripts/e2e",
|
|
"lint": "npm run lint.ts && npm run lint.sass",
|
|
"lint.fix": "npm run lint.ts.fix && npm run lint.sass.fix",
|
|
"lint.sass": "stylelint 'src/**/*.scss'",
|
|
"lint.sass.fix": "npm run lint.sass -- --fix",
|
|
"lint.ts": "tslint --project .",
|
|
"lint.ts.fix": "tslint --project . --fix",
|
|
"prerelease": "npm run validate && np prerelease --yolo --any-branch --tag next",
|
|
"snapshot": "node ./scripts/e2e --snapshot",
|
|
"test": "jest",
|
|
"test.watch": "jest --watch --no-cache",
|
|
"theme-app-build": "stencil build --dev --config scripts/theme-builder/stencil.config.js",
|
|
"theme-builder": "sd concurrent \"npm run theme-app-build\" \"stencil build --dev --watch\" \"stencil-dev-server\" \"npm run theme-server\" ",
|
|
"theme-builder:dev": "sd concurrent \"npm run theme-app-build -- --watch\" \"stencil build --dev --watch\" \"stencil-dev-server\" \"npm run theme-server\" ",
|
|
"theme-server": "node scripts/theme-builder/server.js",
|
|
"tsc": "./node_modules/.bin/tsc -p .",
|
|
"validate": "npm run lint && npm run test && npm run build",
|
|
"validate.ci": "npm run lint && npm run test && npm run build --max-workers 1 --debug"
|
|
},
|
|
"author": "Ionic Team",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ionic-team/ionic.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ionic-team/ionic/issues"
|
|
},
|
|
"homepage": "https://github.com/ionic-team/ionic#readme",
|
|
"jest": {
|
|
"transform": {
|
|
"^.+\\.(js|ts|tsx)$": "<rootDir>/node_modules/@stencil/core/testing/jest.preprocessor.js"
|
|
},
|
|
"testRegex": "src/.*\\.spec\\.(ts|tsx|js)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"d.ts"
|
|
]
|
|
}
|
|
}
|